[PATCH AUTOSEL 4.20 102/304] firmware/efi: Add NULL pointer checks in efivars API functions