[otbn, dv] Fixes regression failure in otbn_csr_mem_rw_with_rand_reset
[otbn, dv] Fixes regression failure in otbn_csr_mem_rw_with_rand_reset

This commit fixes the failure in otbn_csr_mem_rw_with_rand_reset by
adding an extra check to figure out if a write causes an integrity
error.

Signed-off-by: Prajwala Puttappa <d42da9c1e7c0c7ddf8c0244ff16e57febc9395a0@lowrisc.org>

lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan