core/gatt: Fix data caching
core/gatt: Fix data caching

When writing to the database the offset must be used properly.

silent-snowman/bluez,mapfau/bluez,pkarasev3/bluez,ComputeCycles/bluez,mapfau/bluez,silent-snowman/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,ComputeCycles/bluez,ComputeCycles/bluez,pkarasev3/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez,pstglia/external-bluetooth-bluez,pkarasev3/bluez,silent-snowman/bluez,mapfau/bluez,silent-snowman/bluez,pstglia/external-bluetooth-bluez,mapfau/bluez