Specialize `tempAlloc` for zero `stackCount`.
Fix stack-allocated buffer alignment in `tempAlloc`.

This is a workaround for dmd Issue 2278.

Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=2278