[GHC] #9184: Allow the use of Python 3 when building GHC