Issue 12310 - [CTFE] Support heap allocation for built-in scalar types

https://d.puremagic.com/issues/show_bug.cgi?id=12310