[RILMODEM] fix phonebook memory leaks

Signed-off-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>
[RILMODEM] fix memory leak in sms sca query

Signed-off-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>
Merge pull request #244 from jpoutiai/master

Fix memory leaks in sms and phonebook