validation: queue: refactor test to avoid coverity issues
validation: queue: refactor test to avoid coverity issues

Change CU_ASSERT order to avoid side effect issues identified by Coverity

Signed-off-by: Bill Fischofer <52f3c909d51cc5d355a68a403df6906b3c1a8f83@linaro.org>
Reviewed-by: Ivan Khoronzhuk <15ad2a232c436ab54d1b78ef06a09c4cd03911f0@linaro.org>
Signed-off-by: Maxim Uvarov <db4d16e02ae2d7493db430203537da8b2e34f290@linaro.org>

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