Patrick Harvie has launched an attack on those within the Scottish Greens trying to halt him being re-elected next year.