core/device: Fix not emitting GattServices

gatt_cache_used shall be set only when db was populated after the first
connection and shall not be affected by storage.
1 file changed