drm/vmwgfx: Add and make use of a header for surface size calculation.