Hamas worried upheaval in Arab world will spill into Gaza