[xattr] Enhance error handling to catch ENOSPC