at-spi2: check for objects supporting the text interface
at-spi2: check for objects supporting the text interface

before calling GetText, which would trigger warnings in the application
when the text interface is not actually available.

brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty