Python was updated to 3.11 and app_python3 doesn't compile anymore. This commit adds three upstream patches to resolve this. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>