fix link error when "CONFIG_SEC_DEBUG" was not defined