Fix access violation on DirectMusic initialization failure.