NXP-11336: Avoid divide by zero in TestWordGen