(CPR-61) Pin rubocop version to 0.24.1

Rubocop 0.25.0 introduces several changes that break our current checks,
including moving cops between namespaces, and adding new default cops
that fail on our code. We should move forward to 0.25.0 intentionally
when we are ready.