Use python2

scripts/gen_ir.py uses "#!/usr/bin/env python"
1 job for gitlab-ci-testing in 1 minute and 3 seconds
Status Job ID Name Coverage
  Test
passed #10515
test

00:01:03