xtensa: fix ruff issues in Python scripts

Fix the issues found by ruff.

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