csr_regfile: Fix S-mode traps when H extension is enabled
Created by: niwis
Supersedes #2587. If Hypervisor extension is enabled, the logic required to properly trap to S mode is currently excluded (Since #2346, the else
block below the diff is no longer taken if CVA6Cfg.RVH && !trap_to_v
). This means that supervisor traps are currently broken in the presence of H extension. Fix this by adjusting the if
condition.