Make createRenderer partial, depending on whether SDL_CreateRenderer returns a null pointer