Measurement of the gravitational acceleration of antihydrogen