[xattr_darwin] Safer handling for nil/missing/0-length data.