Silence NXP stdout prints

Always printing VPU lib version information to stdout breaks use
cases where a user want to use stdout for something else, like
piping video data.
Instead use GStreamer logging facilities.

BUG: 148406831

Change-Id: Id853a56141ce70022bacb6de7c150429ba45a5a7
diff --git a/plugins/vpu/gstvpuenc.c b/plugins/vpu/gstvpuenc.c
index 7c8d618..04b8da5 100644
--- a/plugins/vpu/gstvpuenc.c
+++ b/plugins/vpu/gstvpuenc.c
@@ -443,11 +443,11 @@
         gst_vpu_enc_strerror(ret));
   }
 
-  g_print("====== VPUENC: %s build on %s %s. ======\n",  (VERSION),__DATE__,__TIME__);
-  g_print("\twrapper: %d.%d.%d (%s)\n", wrapper_version.nMajor, wrapper_version.nMinor, 
+  GST_DEBUG_OBJECT(enc, "====== VPUENC: %s build on %s %s. ======",  (VERSION),__DATE__,__TIME__);
+  GST_DEBUG_OBJECT(enc, "\twrapper: %d.%d.%d (%s)\n", wrapper_version.nMajor, wrapper_version.nMinor,
     wrapper_version.nRelease, (wrapper_version.pBinary? wrapper_version.pBinary:"unknow"));
-  g_print("\tvpulib: %d.%d.%d\n", version.nLibMajor, version.nLibMinor, version.nLibRelease);
-  g_print("\tfirmware: %d.%d.%d.%d\n", version.nFwMajor, version.nFwMinor, version.nFwRelease, version.nFwCode);
+  GST_DEBUG_OBJECT(enc, "\tvpulib: %d.%d.%d", version.nLibMajor, version.nLibMinor, version.nLibRelease);
+  GST_DEBUG_OBJECT(enc, "\tfirmware: %d.%d.%d.%d", version.nFwMajor, version.nFwMinor, version.nFwRelease, version.nFwCode);
 
 
   /* mem_info contains information about how to set up memory blocks