Bug 1025781 - Add CreateDataSourceSurface() failure checks r=nical
imported patch sot2.diff