wrap long with Math.intToExact(): check that convertible argument is long (IDEA-146770)