A Texas bill that would require a 10-year prison sentence for people who use a gun while committing a felony has drawn concern from two groups that aren’t usually on the same side of legislative debates: criminal justice reform advocates and gun rights groups.