NXP-11426: Fix potential division by zero in TestWordGen unit test