[dv] Fix rstmgr intg test

1. Added super.post_apply_reset as Cindy did in #8997
2. Added associated err_code for intg error in cfg

Signed-off-by: Weicai Yang <weicai@google.com>
diff --git a/hw/ip/rstmgr/dv/env/rstmgr_env_cfg.sv b/hw/ip/rstmgr/dv/env/rstmgr_env_cfg.sv
index 99c2a60..3847bd5 100644
--- a/hw/ip/rstmgr/dv/env/rstmgr_env_cfg.sv
+++ b/hw/ip/rstmgr/dv/env/rstmgr_env_cfg.sv
@@ -25,6 +25,7 @@
   virtual function void initialize(bit [31:0] csr_base_addr = '1);
     list_of_alerts = rstmgr_env_pkg::LIST_OF_ALERTS;
     super.initialize(csr_base_addr);
+    tl_intg_alert_fields[ral.err_code.reg_intg_err] = 1;
   endfunction
 
 endclass
diff --git a/hw/ip/rstmgr/dv/env/seq_lib/rstmgr_base_vseq.sv b/hw/ip/rstmgr/dv/env/seq_lib/rstmgr_base_vseq.sv
index ddb2140..c68b18e 100644
--- a/hw/ip/rstmgr/dv/env/seq_lib/rstmgr_base_vseq.sv
+++ b/hw/ip/rstmgr/dv/env/seq_lib/rstmgr_base_vseq.sv
@@ -283,6 +283,7 @@
   endtask
 
   task post_apply_reset(string reset_kind = "HARD");
+    super.post_apply_reset(reset_kind);
     wait_for_cpu_out_of_reset();
   endtask