glimagesink: add support for P010 variants
This makes a pipeline below works:
little endian: gst-launch-1.0 videotestsrc ! video/x-raw,format=P010_10LE ! glimagesink
big endian: gst-launch-1.0 videotestsrc ! video/x-raw,format=P010_10BE ! glimagesink