[PATCH 5.6 005/118] vt: fix unicode console freeing with a common interface