In boost for Hamas, top Arab diplomat visits Gaza