intel: use intel_alloc()/intel_free() when possible

There are still a few places that intel_handle is not readily available and we
are stuck with icd_alloc()/icd_free().  They will be fixed later.
diff --git a/icd/intel/state.c b/icd/intel/state.c
index 3186f64..17c3526 100644
--- a/icd/intel/state.c
+++ b/icd/intel/state.c
@@ -117,7 +117,7 @@
     state->cmd_scissor_rect_pos = state->cmd_len;
     state->cmd_len += 2 * info->viewportAndScissorCount;
 
-    state->cmd = icd_alloc(sizeof(uint32_t) * state->cmd_len,
+    state->cmd = intel_alloc(state, sizeof(uint32_t) * state->cmd_len,
             0, XGL_SYSTEM_ALLOC_INTERNAL);
     if (!state->cmd)
         return XGL_ERROR_OUT_OF_MEMORY;
@@ -249,7 +249,7 @@
 
 void intel_viewport_state_destroy(struct intel_dynamic_vp *state)
 {
-    icd_free(state->cmd);
+    intel_free(state, state->cmd);
     intel_base_destroy(&state->obj.base);
 }