Revert "lockdep: remove task argument from debug_check_no_locks_held"

This reverts commit 8486b2bda63485e6dc936be63a31f97753b4c292.