s3: locking: Add a const struct lock_context * paramter to set_posix_lock_posix_flavour()