[enh] Issue 10557 - __traits(== __parameters) should accept function pointer/delegate type

http://d.puremagic.com/issues/show_bug.cgi?id=10557

This is following enhancement for the compiler fix in #1102.