Improve `diff_data.sh` robustness and performance

There may be added or removed files between two builds, and without this
change the `stat` and `expr $SIZE2 - $SIZE1` calls could fail, leading
to a lot of noise in the output.

Also, the script spent a lot of time incrementing count using `expr`,
which is made faster using arithmetic expressions. On my machine, the
time goes from 24 to 14 seconds.

ICUROOT was unused and thus removed.

Change-Id: I8ac89249473685319d523e1c6e6840c33b1092d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/deps/icu/+/6888913
Reviewed-by: Koji Ishii <kojii@chromium.org>
1 file changed