[PATCH 6.5 167/191] riscv: Only consider swbp/ss handlers for correct privileged mode