[rv_dm dv] Fix compile warnings.
[rv_dm dv] Fix compile warnings.

Fix warnings related to ignored function returns.

Signed-off-by: Srikrishna Iyer <2803d640feace36379942447842f26c7747b4dc3@google.com>

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