Remove a few unnecessary const's

Apparently helps with MSVC compilation.