Mass distributions of dijet resonances from excited quarks at proton-proton colliders