Make vaapi decoder compatible with latest libva changes
Modify vaapi decoder to choose the format used by vaapi.
This avoids possible double format conversions if the output or encoder expects a diffrent format.