compiler: Supplied test crashes on x86_64-win64 at -O2 (git 38dac868e0036555661)
Maybe related to #40719
```console
C:\fpc\bin\x86_64-win64\ppcx64.exe -Mdelphi -O2 -B project1.lpr
Free Pascal Compiler version 3.3.1 [2024/04/09] for x86_64
Copyright (c) 1993-2024 by Florian Klaempfl and others
Target OS: Win64 for x64
Compiling project1.lpr
Compiling unit1.pas
Linking project1.exe
project1.lpr(22,1) Warning: Object file "project1.o" contains 32 bit absolute relocation to symbol "TC_$UNIT1_$$_GPENWIDTH".
project1.lpr(22,1) Warning: Object file "project1.o" contains 32 bit absolute relocation to symbol "TC_$UNIT1_$$_GPENWIDTH".
37 lines compiled, 0.5 sec, 182432 bytes code, 10084 bytes data
2 warning(s) issued
An unhandled exception occurred at $0000000100001728:
EAccessViolation: Access violation
$0000000100001728
```
test project
[opt2const.zip](/uploads/869ad3b7deb4b31f85f639f87ae1c7b2/opt2const.zip)
issue