gtls: fix compiler warnings on conversions size_t => unsigned int