fix deprecation msg in ofShader

use iterators instead of deprecated ofBuffer line methods
Merge pull request #3174 from tgfrerer/fix-ofShader-deprecation-msg

fix deprecation warning in ofShader