[PATCH 4.14 154/190] vga_switcheroo: Deduplicate power state tracking