linux-gen: tm: fix wrr/wfq bug when weight=1
linux-gen: tm: fix wrr/wfq bug when weight=1

Usage of 0x10000 in the inverted weight calculation causes overflow of uint16_t if weight=1.
As a result of this bug, frame len used for virtual finish time calculation is always zero, despite of packet size, so packets from input with weight=1 always pass first.

Signed-off-by: Dmitriy Krot <3c4fc3ce1493fa76894f92ba850836e09a907358@gmail.com>

dkrot/odp,dkrot/odp,dkrot/odp,dkrot/odp