queue2: avoid crashing due to negative percent
queue2: avoid crashing due to negative percent

queue2 would crash when using small buffer sizes because
it would overflow when calculating the percentage, resulting
in the buffering GstMessage not being created and trying to be
used. This patch uses a gint64 instead of a gint to do the
percentage math, making it harder to overflow.

StreamUtils/gstreamer,krichter722/gstreamer,cfoch/gstreamer,collects/gstreamer,surround-io/gstreamer,ylatuya/gstreamer,lovebug356/gstreamer,Distrotech/gstreamer,StreamUtils/gstreamer,ahmedammar/platform_external_gst_gstreamer,justinjoy/gstreamer,surround-io/gstreamer,shelsonjava/gstreamer,ensonic/gstreamer,shelsonjava/gstreamer,surround-io/gstreamer,centricular/gstreamer,krichter722/gstreamer,Distrotech/gstreamer,Lachann/gstreamer,Lachann/gstreamer,Lachann/gstreamer,Distrotech/gstreamer,magcius/gstreamer,krieger-od/gstreamer,lovebug356/gstreamer,StreamUtils/gstreamer,centricular/gstreamer,surround-io/gstreamer,cfoch/gstreamer,krichter722/gstreamer,StreamUtils/gstreamer,krieger-od/gstreamer,shelsonjava/gstreamer,drothlis/gstreamer,ylatuya/gstreamer,mparis/gstreamer,shelsonjava/gstreamer,cablelabs/gstreamer,krichter722/gstreamer,cfoch/gstreamer,ylatuya/gstreamer,krieger-od/gstreamer,mrchapp/gstreamer,lovebug356/gstreamer,cablelabs/gstreamer,jpxiong/gstreamer,Lachann/gstreamer,drothlis/gstreamer,jpxiong/gstreamer,collects/gstreamer,cablelabs/gstreamer,jpakkane/gstreamer,mparis/gstreamer,mparis/gstreamer,jpakkane/gstreamer,jpxiong/gstreamer,jpxiong/gstreamer,krieger-od/gstreamer,Lachann/gstreamer,ensonic/gstreamer,magcius/gstreamer,mrchapp/gstreamer,collects/gstreamer,ahmedammar/platform_external_gst_gstreamer,drothlis/gstreamer,ahmedammar/platform_external_gst_gstreamer,mrchapp/gstreamer,drothlis/gstreamer,ensonic/gstreamer,jpxiong/gstreamer,mparis/gstreamer,mrchapp/gstreamer,ensonic/gstreamer,magcius/gstreamer,justinjoy/gstreamer,lubosz/gstreamer,krichter722/gstreamer,lubosz/gstreamer,centricular/gstreamer,justinjoy/gstreamer,cfoch/gstreamer,mparis/gstreamer,magcius/gstreamer,mrchapp/gstreamer,lovebug356/gstreamer,ensonic/gstreamer,ahmedammar/platform_external_gst_gstreamer,collects/gstreamer,magcius/gstreamer,cablelabs/gstreamer,Distrotech/gstreamer,cablelabs/gstreamer,StreamUtils/gstreamer,Distrotech/gstreamer,justinjoy/gstreamer,lubosz/gstreamer,shelsonjava/gstreamer,cfoch/gstreamer,surround-io/gstreamer,lubosz/gstreamer,ahmedammar/platform_external_gst_gstreamer,jpakkane/gstreamer,justinjoy/gstreamer,centricular/gstreamer,ylatuya/gstreamer,centricular/gstreamer,drothlis/gstreamer,jpakkane/gstreamer,jpakkane/gstreamer,lubosz/gstreamer,lovebug356/gstreamer,ylatuya/gstreamer,krieger-od/gstreamer,collects/gstreamer