[PATCH 2/3] d2d1/effect: Use a helper internally instead of IsShaderLoaded().