Fix vscpws_getDatacodingSensorIndex using wrong brackets

Also fix index of datacoding for Measurement with zone.

Signed-off-by: Kiril Petrov <vscp@geomi.org>