[rilmodem] fix warnings from ril plugin

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

Merge from 'next' to 'master': [rilmodem] fix warnings from ril plugin