vaapi_h265: Fix build failure with old libva without 10-bit surfaces