I think R2’s screaming is more akin to him responding to the situation and less than actually feeling pain. Has someone ever slapped the back of your head softly with their cap, and you say: “oww”, despite not having felt pain. You were responding to the situation, not actually being hurt.
EDIT: The torture scene in ROTJ doesn’t make sense anyway, since the hot-plate doesn’t ever touch the droid’s feet.