orly/rt: Add specializations of cast_as to/from Rt::TOpt's containing different types (real -> int?).

Fixes issue 228
Merge pull request #229 from cmaloney/issue-228

orly/rt: Add specializations of cast_as to/from Rt::TOpt's containing different types (real -> int?).