efi_selftest: check for buffer overflow in efi_get_variable