nine/device: implement Reset and CreateOffscreenPlainSurface