[PATCH 6.6 561/603] riscv: boot: Fix creation of loader.bin