fixed wrong checking for FcPatternGet* return value