[PATCH] dmloader: Use the ARRAY_SIZE() macro