nine/surface: make OffscreenPlainSurface lockable