[PATCH] Log a meaningful warning instead of silently dropping invalid substitutions

See https://github.com/fontforge/fontforge/issues/1038 for more info.