[reg] fix Issue 13084 - ModuleInfo.opApply delegate expects immutable parameter

https://issues.dlang.org/show_bug.cgi?id=13084