[PATCH AUTOSEL 4.19 088/258] firmware/efi: Add NULL pointer checks in efivars API functions