Glee star Mark Salling faces up to 40 years in prison after being indicted on two charges relating to child pornography