Replace `//printf` with `debug(cast_) printf` in `rt.cast_`.
Refactor `rt.cast_`.
Fix `_d_interface_cast` and `_d_dynamic_cast` function signatures.

Both may return either Object or an interface.
Merge pull request #417 from denis-sh/rt.cast_-small-improvements

`rt.cast_`  small improvements