Textinput: Only _destroy() clearButton when present

Fixes gh-7567
QUnit already does a try catch there is no need to test for errors in tests. If an error is triggered the tests will fail and it will be caught by qunit