The Influence of Shape Constraints on the Thresholding Bandit Problem