[cs] Handle Null<X> -> Null<Y> cast when X != Y. Closes #2663