Module#const_set and {Kernel,Module}.#autoload should raise exceptions on frozen module

I couldn't find good way to write Kernel.#autoload specs, It needs frozen `Object`.