Improve stats in the transaction dictionary.
xbps_repo_open: pass the correct size to realloc().