(raptor_grddl_filter_triples): Fix <uri> <uri> <uri> check [gcc5]

This has been broken since 2007 but just meant too much work was
being done.

Original commit that added this 8bb88c9c4a5800b1163b50d2ff12b5245b4b1498