Issue 13468 - Wrong code when comparing class reference with typeof(null)

One possible way to fix this bug.  This way still allows `==` to be used to compare objects in generic code, which requiring `is` between objects and `typeof(null)` would break.

https://issues.dlang.org/show_bug.cgi?id=13468