[PATCH AUTOSEL 4.9 033/107] firmware/efi: Add NULL pointer checks in efivars API functions