scripts: coccinelle: allow list_entry_is_head() to use pos