[connman] Fix compiler error