lantiq: fix bug in hcd gpio detetcion code