AGILE Observations of the Gravitational-wave Source GW170104