Demote buggy FPS prints from g_print to GST_DEBUG.

These FPS prints are added by NXP and they're wildely inaccurate.
They're based off the sink runtime which is derived from the pipeline
clock. They don't take pipeline state change time into account so
short clips show fps way too low. If the pipeline is ever paused the
fps value is meaningless. Most hilariously, if one seeks to the
start of a clip and then stops playback over 1000 fps can be reported!
(effectively total showed frames divided by current playback position).

Worst, this is printed to stdout whether or not an application wants it.
This is annoying at best and prevents using gstreamer in an application
that needs to redirect stdout elsewhere at worst. Libraries should
never print to stdout like this.

Instead of reverting flawed code completely, redirect it into
GStreamers debugging facilities where it belongs.

Change-Id: Iec4d15f64069b254a62507dd3e47a785848741e2
diff --git a/ext/gl/gstglimagesink.c b/ext/gl/gstglimagesink.c
index 376cc84..8570232 100644
--- a/ext/gl/gstglimagesink.c
+++ b/ext/gl/gstglimagesink.c
@@ -1267,7 +1267,7 @@
       glimage_sink->prev_cropmeta = NULL;
 
       if (glimage_sink->run_time > 0) {
-        g_print ("Total showed frames (%lld), playing for (%"GST_TIME_FORMAT"), fps (%.3f).\n",
+        GST_DEBUG ("Total showed frames (%lld), playing for (%"GST_TIME_FORMAT"), fps (%.3f).\n",
                 glimage_sink->frame_showed, GST_TIME_ARGS (glimage_sink->run_time),
                 (gfloat)GST_SECOND * glimage_sink->frame_showed / glimage_sink->run_time);
       }
diff --git a/sys/kms/gstkmssink.c b/sys/kms/gstkmssink.c
index 6f56f10..b6192d9 100644
--- a/sys/kms/gstkmssink.c
+++ b/sys/kms/gstkmssink.c
@@ -1548,7 +1548,7 @@
     }
     case GST_STATE_CHANGE_READY_TO_NULL:
       if (self->run_time > 0) {
-        g_print ("Total showed frames (%lld), playing for (%"GST_TIME_FORMAT"), fps (%.3f).\n",
+        GST_DEBUG ("Total showed frames (%lld), playing for (%"GST_TIME_FORMAT"), fps (%.3f).\n",
                 self->frame_showed, GST_TIME_ARGS (self->run_time),
                 (gfloat)GST_SECOND * self->frame_showed / self->run_time);
       }