a11y: handle no selection ranges for AT-SPI text
gtk_accessible_text_get_selection
is only expected to set
a value for n_ranges
and ranges
when there are ranges,
and otherwise to return FALSE.
Thus, a return value of FALSE is an indicator that there are no ranges.
closes #6488 (closed) introduced with a44701fa