blk-cgroup: factor out blkcg_iostat_update()