[PATCH 3/3] drm/gma500: use common functions for mmap offset creation