tcg: make sure NDEBUG is defined before including <assert.h>