[cpp] haxe.io.Bytes.alloc use exact size
Previously, Bytes.alloc's underlying array would use non-exact sizing designed
to prepare for array growth, allocating 1.5x the memory it needs. Use
cpp.NativeArray.setSize to allocate an exact size.
This reaches parity with other platforms that allocate exact-sized arrays.