Don't crash if we are asked to convert a surface to a NULl buffer.