Remove unused null_terminate function.

Core forces null termination of all messages.