Add HW colorspace conversion support for grab

Create Images of proper color space from the start and try to Get surface content to them. Fall back to YUV if
failure occurs at some point in the more accelerated version.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Make sure to only touch VA-API OSD areas softhddevice has memory access to

This should fix crashes when using certain skins (e.g. skinFlatPlus) that for some reason want to
outside the OSD provided by softhddevice.

Signed-off-by: Antti Seppälä <a.sepala@gmail.com>
Implement better putsurface synchronization

This patch should work "in theory" better than the code there was. Earlier code may have been working better in
practice because of buggy vaapi library. Since then extensive GPU hang fixes have been implemented on library
level.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>