OgreMaterialDefines: Fix a few sloppy bugs that found reading the diffs through.