variable.c: Module#deprecate_constant

* variable.c (rb_const_get_0): warn deprecated constant reference.

* variable.c (rb_mod_deprecate_constant): mark constants to be
  warned as deprecated.