registrychunks: explicitly cast to the enum types
registrychunks: explicitly cast to the enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

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