check_nbprocs: conditionally enable the debug messages at build time

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>