Theory for shift current of bosons: Photogalvanic spin current in ferrimagnetic and antiferromagnetic insulators