Make flqueue.pas compilable with FPC 2.6.0 on x86_64 and enable generics on FPC newer than 2.2