[BACKPORT 4.14.y 3/8] locking/lockdep: Add debug_locks check in __lock_downgrade()