[PATCH] dmscript: Use the ARRAY_SIZE() macro