Support old flex or lex

.. in JsonRideFile.l

Because we added a call to yy_lex_destroy in the parser
but it may not exist in Flex < 2.5.9 or if we are not using
GNU Flex, e.g. good ol' ATT lex.