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