Don't invoke the GC for zero-length array initialisations.
Implement pure std.math functions, remove workaround in core.stdc.math.