led-set-all-groups-asserted: fix shellcheck issues

Fix various issues reported by shellcheck:
    - Negative numbers are not valid shell return codes.
    - Numorous variables needing quotes to prevent wordsplits.
    - Prefer (( expr )) over let syntax.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8f23138e969a49ee4951aedee5fda22cb19ce217
1 file changed