Sync gc_* declrations with core.memory

The forward gc_enable, gc_disable, gc_malloc delcarations in core.thread should
be nothrow as defined in core.memory.
Merge pull request #1065 from dsp/fix-import

Sync gc_* declrations with core.memory