Small improvements for generate_specializations.

pgenutil.pas, generate_specializations:
  * use splite_generic_name
  * use the genericparas list instead of iterating the complete symlist
pgenutil.pas, split_generic_name:
  * leave the loop instead of providing an internal error if the right part is not a number


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25580 3ad0048d-3df7-0310-abae-a5850022a9f2
Correct fix for Mantis #24909 : some systems (Linux, OpenBSD) use the one order while other systems use the other (FreeBSD, NetBSD).

+ add a define for each of the two orders
* fail if none of the two defines is defined ( => for porting to new systems)
+ use the order as specified by the define


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25581 3ad0048d-3df7-0310-abae-a5850022a9f2