prevent lock mismatch

if the call to fz_render_t3_glyph throws in fz_render_glyph, the FZ_LOCK_GLYPHCACHE lock is released once too often
fix memory leak

if fz_alpha_from_gray throws in fz_render_t3_glyph, the originally rendered glyph is leaked