[PATCH] drm: Move sg functions into drm_legacy.h