Replace unsigned int with size_t

Replace unsigned int definitions with size_t if they
describing the size of an object.