Modulational instability of magnetosonic waves in a spin 1/2 quantum plasma