Deformations of Killing spinors on Sasakian and 3-Sasakian manifolds