[PATCH openEuler-5.10-LTS 017/168] misc: fastrpc: fix an incorrect NULL check on list iterator