[PATCH] riscv: Fix memory leak in module_frob_arch_sections()