kernel: Fix build with KDEBUG_LEVEL < 2.

The lock caller info isn't available in such a configuration.