Fix vgSetPaint()

The standard explicitly allows VG_INVALID_HANDLE argument to vgSetPaint().