I always thought it was short for gillion, as in- "I wish I had a gillion dollars."

or maybe it has to deal with the word gild- to cover with or as if with a thin layer of gold.

I think I'll stick with the gillion idea though.