Fix PixelFormat.cpp patch application. because of the nature of the
structs in the file the patch was getting applied multiple times

Solution Move the minColorDepth struct definition so there is more
uniqueness for patch to work with