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

https://issues.dlang.org/show_bug.cgi?id=13084

Also requires https://github.com/D-Programming-Language/dmd/pull/3754
done