WIP: support either kgsl or msm..

Split out common code and backend.  Current backend is for 'kgsl'
driver, but a new backend will provide support for msm drm/kms driver.
WIP: add support for msm drm