Fix nullability annotations on equals methods

The equals method in Object takes a Nullable parameter, so all
subclasses must do the same. Fixing these issues allows re-enabling
the InvalidNullabilityOverride error, fix also catches more severe
issues.

Bug: 309908788
Test: m checkapi
Change-Id: Id75ff5fbd70ece6a01ce4525d1b8f745430c4de1
3 files changed