Do not create useless copied methods for interfaces.

There should be no overriding default conflict methods in
interfaces. We were erroneously adding them for methods that
were declared in an interface in cases where ignoring such
a declared method would create a default conflict method
based on methods in superinterfaces. These copied methods
were never found by method lookup as the declared methods
were always found first.

Test: m test-art-host-gtest
Test: testrunner.py --host --optmizing
Bug: 181943478
Change-Id: Ie71b4a46fb1371829d8b24661fd5343cf9ef9e40
1 file changed