[GX] fix video driver to work with driver teardown
frontend.c cleanup