PERF: Exploit RISBG in ExtractBitRange and optimize CheckPageFlag