Looks like some deprecation in python3.11 breaks building the Mame/Mess2016 cores due to some codegen including python scripts. Similar to the commit for `lr-mame2016`, allows us to build on the newer Bookworm.