Use $((EXPRESSION)) instead of $[EXPRESSION]

$((EXPRESSION)) is POSIX-conform and should be preferred.

Change-Id: I2d401f047cb5749a654a4745c8fa5e5b936b61bf
Merge "Use $((EXPRESSION)) instead of $[EXPRESSION]"