fix(analysis): update to upstream changes in libstats

cc japaric/stats.rs#18