Merge pull request #3369 from lioncash/unique VideoBackends: Simplify initialization and deinitialization of resources