Forgot to mention: this bug was also hard to reproduce because macOS 11/Xcode 13 added [ObjC constant literals for collections](https://blog.andrewmadsen.com/2021/06/07/constant-literals-in.html) like NSDictionary. When Wine is built targeting macOS 11 or later, BitmapOutputTypeMap is just constant data and is never released.
As a result, this bug only showed up when targeting macOS 10.15 or earlier (true for CrossOver, usually not true for development builds of Wine).