Unable to compile bgrabitmap package using Lazarus and FPC trunk
## Summary
When compiling the bgrabitmap package with Lazarus you will get the error message:
"bgratransform.pas(1071,1) Error: Compilation raised exception internally"
This happens even when you don't have optimizations enabled and compile the ide with debug information.
## System Information
- **Operating system:** Windows
- **Processor architecture:** x86-64
- **Compiler version:** trunk
- **Device:** Computer
## Steps to reproduce
Start Lazarus, open online package manager, select BGRABitmap (only bgrabitmappack.lpk is needed) and hit install
issue