HPCC-10298 CSV auto discovery should check the validity and uniqueness of
the discovered field name.

Fix field name uniqueness testing bug.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>