045b75c nodedev: Add check for NULL obj before call Unlock

Authored and Committed by John Ferlan 6 years ago
    nodedev: Add check for NULL obj before call Unlock
    
    Commit id '95ea171b' was a bit too aggressive in removing the if (obj)
    check since cleanup is reachable after Unlock and obj = NULL.