d3drm: Reorder viewport creation function to avoid forward declarations.