Add "override" and remove "virtual" where appropriate.

For the record, I used clang-modernize to add "override" and perl to remove
"virtual".