x86: fix ruff issues on gen_mmu.py

Fixes issues found by ruff on gen_mmu.py.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2 files changed