Issue #1123 - Fix for song and sound effect being lost

Part of the infamous shameless hack to keep the SongReader and SoundEffectReader in the library during AOT optimization on iOS. Tested in debug and release modes with full linking and the sound effects did not get lost. Did not test songs (mp3 content).