Quantitative constraints on the gluon distribution function in the proton from collider isolated-photon data