Make the processing lib use mutexes from WelsThreadLib from the common library

This requires always building the WelsMutex* functions,
even if MT_ENABLED isn't set.
Merge pull request #456 from mstorsjo/use-common-threadlib

Make the processing lib use mutexes from WelsThreadLib from the common library