Hamiltonian structures of reductions of the Benney system