fix deprecation warning in ofShader

use iterators instead of deprecated ofBuffer line methods to eliminate deprecation warnings.