Backport Fix #1132: RuntimeLong.intValue() not preserved by numberIntValue(x: jl.Long).

(cherry picked from commit a0e52d6a9da955846a73fc5357e970e300036fa0)