dump of framebuffer device should be stored in the array of which type is uint8_t

this type is not char because char may be signed and the size of char may be more than 1 byte
main.c: fix the type of buf
delete unneeded swich-case sentence and substitute the size of pointer directory into jpeg_pointer_size
delete unneeded include line