Fix compatibility of hlist_for_each_entry macro between kernel versions.