Add assertions to CastInst::getCastOpcode to catch attempted conversions