[PATCH 6.12 031/146] efi/libstub: Free correct pointer on failure