Fix incorrect LOCK_UN for user-land stream wrappers

We were passing native LOCK_UN value, but PHP's value differs.
These should be probably switched to k_* once constants idl is ported.

Closes #3887.