ipc: do not delete the lock if we never acquired it

- process A acquire()
- process B release() -> delete the lock
- process B acquire() -> recreate it!

It's unlikely someone will try to to release before acquiring, but
better be safe than sorry.

Change-Id: If309ff6ea6793546b5aeb3b15b1a2602edf29c85