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

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

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