Local BRST cohomology in Einstein-Yang-Mills theory