replace remaining references of NDEBUG with CHECK_INTERNAL.