[PATCH v4 2/2] drm: add legacy support for using degamma for gamma