fs/xattr.c:getxattr(): improve handling of allocation failures