Fix game not closing when compiled with --without-nvtt.
Fixes: #6107
Differential Revision: https://code.wildfiregames.com/D4138