Fix incorrect interface-override linking

We would incorrectly search all declared methods when searching for
overrides of super-class interface methods. This could lead to
incorrect behavior since we could try to override methods with static
or private methods. This could cause exceptions or other issues.

This fixes a typo from over 4 years ago in go/aog/185608 and restores
the behavior we had prior to N.

Bug: 152199517
Test: ./test.py --host
Change-Id: Ic6ce51f79d071727316bb39e5bbeabb92cb4aa9a
9 files changed