Fix replay bug in fcntl(F_GETLK) operations.

This should be the underlying cause of #511.  Unfortunately, because of the design of the kernel ABI, we can't buffer flock operations anymore under the current system :/.  Oh well.