THE FUNCTIONAL MEASURE OF GAUGE THEORIES IN THE PRESENCE OF GRIBOV HORIZONS