[ARM] Use ARRAY_SIZE macro when appropriate