[rilmodem] Fix oFono compiler warnings

Fix oFono compiler warnings as an enabler for
Definition-of-Done

Signed-off-by: Petri Takalokastari <petri.takalokastari@oss.tieto.com>
Merge branch 'warnings'
Merge pull request #72 from ptakalok/master

Fix oFono compiler warnings