std.array: Allow joining constant arrays

Fixes this:

```
const string[] arr = ["apple", "banana"];
arr.join();
```