Convert video color to gray using javacv