test: l2fwd: fix crash when accuracy is set to 0
test: l2fwd: fix crash when accuracy is set to 0

Application crashes if accuracy option is set to zero
(division by zero). Disable statistics printing if accuracy
<= 0.

Signed-off-by: Matias Elo <62402263e8617147f0e4dd5b7f6f8ec67f2b3d2c@nokia.com>
Reviewed-by: Petri Savolainen <d528fd253b9aaf78fa72edbcc6249e82047f6ce6@nokia.com>
Signed-off-by: Maxim Uvarov <db4d16e02ae2d7493db430203537da8b2e34f290@linaro.org>

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