fix Issue 13084 - ModuleInfo.opApply delegate expects immutable parameter

- cast to mutable

- also deprecate copy assignment of ModuleInfo

[Issue 13084](https://issues.dlang.org/show_bug.cgi?id=13084 "ModuleInfo.opApply delegate expects immutable parameter")