[PATCH 6.1 226/228] test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation