Change order of arguments of lr_handle_setopt, lr_handle_getinfo and lr_result_getinfo