[PATCH 4/5] d3drm: Strengthen check for valid viewport dimensions.