progend-glsl: dirty prog for vertex state changes
progend-glsl: dirty prog for vertex state changes

_cogl_pipeline_progend_glsl_pre_change_notify and
_cogl_pipeline_progend_glsl_layer_pre_change_notify were only dirtying
the current program state for changes related to fragment processing.

This make both functions also check for changes that affect vertex
shader codegen.

This also fixes a mistake where
_cogl_pipeline_progend_glsl_layer_pre_change_notify was checking for
non-layer related changes which would never be seen, and instead it
should be checking for layer based changes only.

(cherry picked from commit efc48edb6fc59b12c252856c7263e562f4eb1777)

djdeath/cogl,djdeath/cogl,gcampax/cogl,gcampax/cogl,djdeath/cogl,gcampax/cogl,gcampax/cogl,djdeath/cogl-android,djdeath/cogl-android,djdeath/cogl-android