Only enable messagebox exception handling in release mode

Debug builds are meant to be executed in a IDE environment, so it is better to take advantage of the IDE's features to show where the exception came from.
gstreamer-sharp: Let the GC dispose old elements