Const poison in a few places to ensure we don't modify things
through the module data pointer.