strrchr const correctness. Fixes build in msvc.