Crash in SDL_UpdateTexture when using SDL_RENDERER_SOFTWARE and texture access is TEXTURE_ACCESS_STATIC

I Filed a bug regarding SDL when calling SDL_UpdateTexture in software
mode and texture access is static.The bug and the attached patch can
be seen at:

http://bugzilla.libsdl.org/show_bug.cgi?id=1220