gatt: add return value check of io_get_fd() to sock_io_send()

It is necessary to add a return value check.

Found with the SVACE static analysis tool.
1 file changed