support glsl >= 1.3 with varying/attribute deprecated

This adds support for glsl >= 1.3 where the varying and attribute
keywords were removed. This makes cogl emit compatibility defines for
the new in and out keywords so we can use these consistently across all
versions of glsl.