[PATCH 6.6 619/676] efi/libstub: Free correct pointer on failure