[Bug 50636] Reading indexed bitmap wrongly returns 32bit instead of 8bit