[PATCH 6.1 148/208] nvmem: brcm_nvram: Add check for kzalloc