Pressure-induced topological phase transitions in rocksalt chalcogenides