Refactor `rt.cast_`.
Fix `_d_interface_cast` and `_d_dynamic_cast` function signatures.

Both may return either Object or an interface.