intel: refactor cmd_pipeline

Add helper functions for each of the API functions.
diff --git a/icd/intel/cmd.h b/icd/intel/cmd.h
index 8792e91..6fa83a4 100644
--- a/icd/intel/cmd.h
+++ b/icd/intel/cmd.h
@@ -70,7 +70,7 @@
     struct {
         struct intel_mem_view graphics;
         struct intel_mem_view compute;
-    } mem_view;
+    } dyn_view;
 
     struct {
         const struct intel_mem *mem;