Correctly enable /proc/pid validation in sbd_lock_running()
Fix potential errors spotted by coverity/clang