In asm5, the old visitMethodInsn method has been deprecated in favor
of one that specifies whether the target method was declared on an
interface (to handle default methods). Update our code accordingly.