[RILMODEM] fix cf query callback list handling

if cf query callback received a list with more than one response and at least one of them without phone number and at least one was not the last item in the list the parsing of the list lead to indeterminate behaviour regarding the list handling.

Signed-off-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>