cable_detect: fix warning type defaults to 'int' in declaration of 'LIST_HEAD'