[PATCH 5.2 058/413] locking/lockdep: Fix merging of hlocks with non-zero references