[PATCH 5.10 250/509] test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation