[PATCH 4.20 095/352] firmware/efi: Add NULL pointer checks in efivars API functions