Thread safety cleanup in IOVService

To resolve a warning from the thread safety static checker,
change a function from const to non-const. The function
return value allows one to modify a data member it owns
through a pointer.