[PATCH 5.15 022/247] misc: fastrpc: fix an incorrect NULL check on list iterator