riscv: Move .rela.dyn outside of init to avoid empty relocations