[connman] Fix compiler switch-warning