[cpp,hl] disable lossy implicit cast of int 64 to 32 (#10133)
* [cpp] disable lossy implicit cast of int 64 to 32
* [hl] disable lossy implicit cast of int 64 to 32
* [cpp,hl] add explicit toInt() to Int64 types
* [cpp,hl] add toInt() doc
* deprecate implicit cast of Int64 -> Int32