debug: exclude KDB and non-uart stdio port

Signed-off-by: Viller Hsiao <villerhsiao@gmail.com>