Solitary and shock wave in magnetized collisional pair-ion plasmas