Reduced the number of INT_FATAL() cases in cast_code.cpp.