Linear and fractional response for the SRB measure of smooth hyperbolic attractors and discontinuous observables