Measuring the triple-gluon coupling in hadron collisions