Police: 12-year-old student can't be charged for bringing gun to school under new law