Stricter check on bounds of list in strings

When in a string, (bounds-of-thing-at-point 'list) may return a
boundary outside of the string.