Rename unused mpv_destroy to mpv_detatch_destroy.
Prevent memory leaks on exception.