Improve GPIO detection for debug/carrier board

Enumerate gpio chips and find the chip that has the right label. This fixes
the gpio routine for the 3.17 kernel.