Fix coding style and enable faster but less accurate 8bit scaling mode