fixed unexpected x64 Delphi compiler odd behavior with variant parameters