cgdb: add head option

Adds --HEAD option to cgdb formula