Update for IOSurface changes

r? @metajack