validation: common: catch odp_term_local/global failures
validation: common: catch odp_term_local/global failures

Failures in odp_term_local() or odp_term_global() are an indication
that the test did not correctly clean up after itself so should cause
the test to fail.

Signed-off-by: Stuart Haslam <1fce01f364ef5298e64e07a42e08efeef153fa98@linaro.org>
Reviewed-by: Bill Fischofer <52f3c909d51cc5d355a68a403df6906b3c1a8f83@linaro.org>
Signed-off-by: Maxim Uvarov <db4d16e02ae2d7493db430203537da8b2e34f290@linaro.org>

rsalveti/odp,erachmi/odp,kalray/odp-mppa,dkrot/odp,rsalveti/odp,dkrot/odp,kalray/odp-mppa,ravineet-singh/odp,mike-holmes-linaro/odp,ravineet-singh/odp,nmorey/odp,mike-holmes-linaro/odp,rsalveti/odp,nmorey/odp,kalray/odp-mppa,kalray/odp-mppa,ravineet-singh/odp,rsalveti/odp,ravineet-singh/odp,erachmi/odp,dkrot/odp,kalray/odp-mppa,mike-holmes-linaro/odp,dkrot/odp,kalray/odp-mppa,rsalveti/odp,kalray/odp-mppa,erachmi/odp,erachmi/odp,nmorey/odp,nmorey/odp,mike-holmes-linaro/odp