vm: Add threadsafe_sterror to the vm.
libc: First stab at using strerror_r and (strerror_s on Windows) instead of thread-unsafe strerror.
vm: Fix namespace brace.