fix bug in getPitch, returning half of ptich for 4bpp fb