Warnings cull from SINQ code.

All related to conversions to/from size_t etc. I have simply made explicit
with static_casts what was happening implicitly so that the original behaviour
is preserved.
Refs #7505