[PATCH 1/3] dlls/gdiplus: Add helper function for strictly allocating to a path