s3: lib: Add 'int op' parameter to fcntl_getlock().