Fix newer deployment target error for .NET MAUI when upgrading to .NET 9

Here is how to fix build error MT0073/MT2301 when updating your .NET MAUI app to .NET 9