s3-smbd: fix get_ea_names_from_file() and check for pnames pointer.