mp: Always set mp_context to NULL on errors.