state_unlock needs to avoid defer state pointer for posix locks.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>