I'm not sure if your PDF's are multi-page, so if they are then use pdfTK or pdfSAM to break them into single page PDF's, then use The Gimp to rotate the images manually.
The other thing that you could is use a tool like ImageMagick to automate the rotation, but you would probably have to separate the normal, CW, CCW pictures into different folders.