Israeli security forces fired stun grenades and water cannon at Palestinian protesters angry at restrictions on gatherings during Ramadan.