[PATCH v3 4.19 2/2] test_firmware: return -ENOMEM instead of -ENOSPC on failed memory allocation