Common: Get rid of StdConditionVariable, StdMutex, and StdThread.

All of the compilers we support have support for these now.

Also parts of core used the standard library header equivalents too.