Initial work on HW grab support

Intel seems to have problems with the driver implementation, the result is not correct in any way at least on
Haswell.
Finally working version of color space conversion grab

The issue was that image pitch was not respected when copying the source image.
This led to corrupted picture.
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>