generate_extra_defs: Avoid deprecation warnings.
generate_extra_defs: Check the clutter_init() result.

This avoids a compiler warning.