TableGen: Avoid undefined behaviour by doing this shift in int64