core/gatt: Fix assigning false instead of 0

write_id type is unsigned int not boolean.
1 file changed