commoncpp: fix deadlock

Remove's a static Mutex which is not needed and which causes a deadlock when the commoncpp shared library is unloaded, see: https://projects.savoirfairelinux.com/issues/57625