[PATCH 10/26] vmwgfx: Refactor common display unit functions to shared file