SDL_helpers: Add nullptr checks before freeing
SDL_helpers: Add nullptr checks before freeing

* Doing nullptr checks before freeing helps eliminate edge cases

i8degrees/nomlib,i8degrees/nomlib,i8degrees/nomlib,i8degrees/nomlib