I'm pretty sure it comes from the word "Gibber" - to make the characteristic sound of a monkey. Its an imitative word - according to my Collins Dictionary - 17th century.

(For Ozzies - I see there is another Australian meaning for gibber - boulder or stone, or dry flat area covered in stones - as in gibber plans)