Fix overloaded virtual warnings.

Delete most of them since they weren't really implemented anyway.'
Fix missing C++ mode comment
Fix various kinds of unused warnings
Remove more not actually implemented target hooks
Fix incorrect overload of getScalarShiftAmountTy

I think this was renamed at some point, so it
didn't trigger a warning.
Use override