location-geoclue: Fix crash when starting geoclue provider. (Thanks to Maks Verver)