fixed buggy function PosEx() in PUREPASCAL mode (e.g. for Win64 of FPC/ARM)