[PATCH 1/1] riscv: restore global data pointer in trap handler