Bug 840260 - replace an assert by a static_assert - landing this on gfx so that we dont get a merge conflict later.
remove dead CompositingFactory::CreateTextureClient