Zero-temperature phase transitions of an antiferromagnetic Ising model of general spin on a triangular lattice