kernel: wrapper implicit kdb-related code by CONFIG_KDB

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