Three-body distribution function in liquids: the case of liquid gallium