vgabios: add pagenum support to write_char/read_char Not sure how it works for CGA