don't produce overloading-related errors for static reference primaries
relates to ceylon/ceylon-compiler#1392