Update the version of python in the `Fedora-40` image. To make sure EDK2 build successfully in the latest python release verion.