[rt] Call into the memory management APIs.

This updates the C runtime to call into the actual memory
management APIs rather than just have stubbed out entry
points.

Also, fix () parameter lists to be (void);
[rt] Remove primitive-gc-state and MMCollectCount.

These weren't used anywhere and the primitive had been disabled
long ago.
[rt] Fix warning in c-support.c.