Changed static to static const to avoid complaints from the thread-safety checker

The Thread-safety checker looks for uses of non-const statics in the code and complains when they are found. This code had such statics, however the are only ever used to read and never to change. Therefore it was perfectly safe to change them to 'const static'.