core: msg: make messaging optional for threads

This commit makes it possible to create threads with CREATE_NOMSG, disabling their messaging abilities.

Slims tcb from 68 to 40 bytes in my native compile.

Only have of the tests use messaging, so there might be a use for this. Idle thread is also a candidate.
Can't see a performance impact on native, this adds some checks and indirection though.