dvdplayer: check for successfull extradata allocation
dvdplayer: cosmetic removal of trailing blank
CoreAE: fix crash on app exit due to race condition

We must unregister callback before shuting down AE, and also re-check
that we are not shutdown in the callback after taking lock