Pre-allocate result array in getAddress

Fixes issue [#13159](https://issues.dlang.org/show_bug.cgi?id=13159).


`return infos.map!(a => a.address).array;` would have been shorter.