Add _d_arraybounds(string, uint) function

This PR fixes the lack of a runtime function for array-bounds-check that takes `string file`.
Not taking `ModuleInfo` is important to reduce dependency on runtime.