libtracker-sparql: Check length in get_value_type
types is a plain array; not checking returns something if we exceed the column limit.
This basically prevents an array out of bounds access on types, returning some random integer which makes is_bound() return true