[PATCH] riscv: Fix breakage caused by linker relaxation