iOS and tvOS shares much of the same code. Normally all differences
between the targets are handled in the backend where Xcode specific
pre-processor macros can be used to distinguish the platforms.
In shared code, even if it's still Apple specific, we need a define
to separate the iOS and tvOS targets. Add such and use it in the
shared CoreMIDI code. This fixes buildbot issues.