In a territorial dispute with neighbouring Guyana, Venezuela voters have rejected the International Court of Justice jurisdiction.