Libtransport: Fix uint underflow when reporting average memory usage