core/debug: fix printf barrier comparison

Currently, if a thread has a stack size of KERNEL_CONF_STACKSIZE_PRINTF, it can not debug.
Is this appropriate?