Fix average elapsed time in native side

Fix calculation to gather average elapsed time by filter on one packet

* pf_test_native.lua. fix
* ts/tests/0001_plan.ts. minor improvements