sim osx: fix compile warnings/errors when compiling sim osx on linux
sim osx: adapt osx simulator to new flash api
flash partitions: adapt CC/CC3D to new flash partition API
Merge pull request #697 from solidgoldbomb/sim-osx-new-flash-api

Adapt OSX sim to the new flash API changes
Merge pull request #703 from solidgoldbomb/fix-cc-flash-api

flash partitions: adapt CC/CC3D to new flash partition API