[PATCH 6.7 057/346] riscv: Correctly free relocation hashtable on error