On a class of third-order nonlocal Hamiltonian operators