memory: Use lock flags for map flags
memory: Use lock flags for map flags

We implement the locking in gst_memory_map with the lock flags, make matching
flags the same number so that we can use the map flags directly as lock flags.

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