fix ppu palette ram r/w & mirroring issue.