Align Module#const_defined? in the 1.8 mode to that in the 1.9 mode.