Fix for PR23310: llvm-dis crashes when trying to upgrade an intrinsic.