fix Issue 8868 - overload resolution of &x.g() incorrectly chooses delegate over function pointer