The bill, which would add machine gun conversion devices, known as Glock switches, to Pennsylvania’s list of prohibited offensive weapons.