Supplemental fix for issue 10567

http://d.puremagic.com/issues/show_bug.cgi?id=10567

Add helper function in druntime, same as opEquals case.