diffview: refactoring of dview_get_byte() and dview_get_utf().