locks: fix compilation for KDTRACE_HOOKS && !ADAPTIVE_* case
Reported by: Michael Butler <imb protected-networks.net>