Factor out message buffer mgmt from notmuch-show-view-all-mime-parts