locks: allow {vfs,posix}_lock_file to return conflicting lock