[PATCH 6.0 106/177] RISC-V: kexec: Fix memory leak of elf header buffer