compiler: Fix backend representation for interface methods.