readhmid: Second attempt to fix output of readhmid when config have gpio only pins

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>