class_registerAlias_np(): Acquire the global mutex

A plugin which calls it might be loaded while already being
multi-threaded.