[rilmodem] fix warnings from ril plugin

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

[rilmodem] fix warnings from ril plugin