[rt] Finish calling MPS-style API.
[rt] Call MPS-style API in posix-threads
[rt] Use primitive_alloc_rf in primitive_raw_as_string.