lockdep: refactoring lockdep_will_lock and fix lockdep_will_unlock

Directed edge in the dependency graph need to be removed when unlock mutex.

Signed-off-by: Rongze Zhu <zrzhit@gmail.com>