coding: Use ARRAY_SIZE macro

Change-Id: I6b7a2a3a7be6a1d92038ff3b249e539fcd0f639e
diff --git a/src/coding/gsm0503_coding.c b/src/coding/gsm0503_coding.c
index 493f957..3ad2861 100644
--- a/src/coding/gsm0503_coding.c
+++ b/src/coding/gsm0503_coding.c
@@ -547,7 +547,7 @@
 		return res;
 
 	coded_len = osmo_conv_encode(code, output, recoded);
-	OSMO_ASSERT(sizeof(recoded) / sizeof(recoded[0]) >= coded_len);
+	OSMO_ASSERT(ARRAY_SIZE(recoded) >= coded_len);
 
 	/* Count bit errors */
 	if (n_errors) {