[PATCH 7/7] gdi32: Factor out get_icm_profile.