Fix failure value for atk_text_get_caret_offset
atk_text_get_caret_offset should return -1 if the caret is not located within the element or for other failures. This will allow clients to distinguish between a failure and when the caret is at offset 0.
Edited by Martin Robinson