[UBSan] Fix UBSan testcase for float->int conversion after LLVM r219542.