Fix possible size_t overflow in 32-bit builds. (#1131)

* Fix possible size_t overflow in 32-bit builds.

Use cl_ulong temporary values for row/slice_pitch.

Signed-off-by: John Kesapides <[email protected]>

* Remove redundant casts

Signed-off-by: John Kesapides <[email protected]>
2 files changed