Added three missing checks for return values of SDL_calloc().