This is a first step in avoiding racy accesses to strMiscWarning. The change required moving GetWarnings and related globals to util.