fix int to size_t warnings in GSSBuffer