gdiplus: Avoid more cases of allocating a transformation matrix on the heap.