misc: Fix building with disabled SEC_DEBUG

Signed-off-by: Robert Rozic <r.rozic97@gmail.com>