gatt: Fix error format

The error parameter from the result callbacks (btd_attr_read_result_t
and btd_attr_write_result_t) should be in errno format.