dxva/vaapi: fix max resolution to allow 1080p