distributor: fix check of workers number
distributor: fix check of workers number

No of workers should never exceed RTE_MAX_LCORE.
RTE_DIST_ALG_SINGLE also require no of workers check.

Fixes: 775003ad2f96 ("distributor: add new burst-capable library")
Cc: stable@dpdk.org

Signed-off-by: Harman Kalra <568a3484dfecf16d6b30cd214c570848bb408570@marvell.com>
Acked-by: David Hunt <763be7c8e0ad91e03160e7aed76d5cd41534e2f9@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk