src/txmempool.cpp: make numEntries a uint32_t

Don't ever serialize a size_t or long, their sizes are platform
dependent.