[openEuler-5.10 014/303] 9p/xen: Fix end of loop tests for list_for_each_entry