fix fix Issue 11049 - RangeError does not recognize file name modified by #line directive

Stop using ModuleInfo for assertion and array bounds check.
Instead pass filename to `_d_assert`, `_d_unittest`, and `_d_arraybounds`.
fix Issue 846 - Error 42: Symbol Undefined "<mangle_of_class_template>__arrayZ"