Store the real dimensions of the display

HD44780 memory map is 2x40 but real dimensions of the display can be
different.

Signed-off-by: dienet <dienet@poczta.fm>