ximagesrc: Add Xcomposite configure and runtime checks
Add xcomposite support

this prevents a whole host of x errors when windows are resized, and in
theory could be used to gracefully eos when such a thing happens.