replace unsigned long by GtUword in two ruby scripts