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