glog: gflags compatibility fix

Closes #34416. The upstream issue tracker for Glog is pretty dead, and gflags development seems to be outpacing it, so vendoring the old version of gflags is a workaround.
Any chance of a wee test here? Would be good to verify linkage.