framebuffer: add a maximum number of characters (ie scrollback)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>