Fix an assertion failure in legalizing bitcast operators on targets where