[openEuler-5.10 4/4] NFSv4.2: fix error return on memory allocation failure