Gun, magazine found in student's backpack at TX school