Twenty Twelve: Use the correct body class for attachments.

.single-attachment is only used when the attachment's parent is not a page.

props Marco_Teethgrinder.
fixes #25506.


git-svn-id: https://develop.svn.wordpress.org/trunk@25707 602fd350-edb4-49c9-b593-d223f7449a82