[PATCH v5 1/1] d2d1: Implement D2D1ComputeMaximumScaleFactor().