state_unlock needs to avoid defer state pointer for posix locks.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
Merge branch 'tp/state_unlock_fix' into ibm_next_20_tmp