[build] Adds check for Cogl > 1.14 to configure, as an optional dependency