NULL-check image creation in SDLSoftwareRenderDevice::createImage()

Related to #1215. Hopefully this fixes the crash.