Add CAIRO_FORMAT_INVALID

Fixes https://github.com/LearnBoost/node-canvas/issues/342