Measurement of the quadrupole moment in the mercury ion optical clock