shared/gatt-client: Fix invalid access during descriptor discovery.

This patch fixes an off-by-one error during descriptor discovery, which results
in an invalid access if more than one descriptor declaration exists within a
service handle range.