ofono: fix build with eglibc-2.17

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>