Solved the debug graphics issue - textures were not being loaded

Textures were not being loaded correctly due to some shenanigans between
libpng16 and SDL's internal implementation.

For DESKTOP_SDL, SDL_Image is used to load the textures.