fix Issue 9552 - DMD crashed when taking member delegate from __traits(getOverloads)

This is workaround fix, because essentially we should treat overloaded functions.
Merge pull request #1684 from 9rnsr/fix9552

[REG2.059] Issue 9552 - DMD crashed when taking member delegate from __traits(getOverloads)