Apply libqcms thread safety patch

qcms was patched in https://bugzilla.mozilla.org/show_bug.cgi?id=853169 to
resolve thread safety issues when using libqcms library for threaded image
decoding in Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=716140).
Apply the thread safety patch to the chrome repository.

BUG=327484
TBR=darin@chromium.org

Review URL: https://codereview.chromium.org/108563012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240120 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 240120