Vim: Only use persistent undo when supported.