[PATCH 3/3] d2d1: Improve DPI value handling when creating from a bitmap.