HPCC-12036 Warn if floating point indices used when perhaps a range was ...

...intended

I'm not %100 on the actual warning message.
Also, I wondered if I should consolidate into a single routine, either as a static within hqlgram.y or as a method of HqlGram. didn't choose the later as couldn't come up with a suitable name due to how specific it should be and lack of reuse. Nor the first as I believe we wish to avoid these.

Signed-off-by: jamienoss <james.noss@lexisnexis.com>
I would be tempted to make this CategoryMistake instead.  (So that -wmistake=error will cause an error.)