arch-hsail: changed gen.py shebang from python(3) to python2.7
arch-hsail: changed gen.py shebang from python(3) to python2.7

gen.py includes code_formatter from m5.util. code_formatter uses the
python2 __metaclass__ attribute, which is ignored by python3, causing
the code_formatter.pattern attribute to be unset.

This prevented scons from building against HSAIL_X86

Signed-off-by: Ryan Gambord
<gambordr@oregonstate.edu>

Change-Id: I5a8bf9e730fd629eb7f9a7ac2dce928235a0dae4
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17008
Reviewed-by: Andrea Mondelli <265490fa8df715c1889d9835b5aa3717b9005e57@ucf.edu>
Reviewed-by: Anthony Gutierrez <fe4627c83134668039628e34eb0e4dda45a5da5e@amd.com>
Maintainer: Anthony Gutierrez <fe4627c83134668039628e34eb0e4dda45a5da5e@amd.com>

gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5