fix MSVC compiler warning on bit-shift of int32 literal...
and assigning to a 64 bit integer variable. This would
have caused a big problem here if we increase MAXROWCOUNT
above 2^32.
Also remove un-necessary casts introduced in the commit
b4df9b0b4c7411f257b0a397687587114a53208e
Thanks to @sberg who pointed out the real meaning of the
MSVC compiler warning reported @
https://lists.freedesktop.org/archives/libreoffice/2019-February/082078.html
Change-Id: Ieedad5ba478e5162abbdfdc79820cf001c2a85f2
Reviewed-on: https://gerrit.libreoffice.org/68068
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins