Add mutexes to the exception list for the thread-safety check on passing a static object. Also add std::shared_timed_mutex as a known mutex type.