OS-3059 rtld deadlock during C++ library init post-OS-2751