Shutdown graphics core before destroying surface pool
since SH-2DG/Graphics needs to destroy work surface at shutdown.