Use image for og:image on image attachment pages

Fixes #1236. It's probably not the most elegant way to do it, but the upside is that we can skip the whole `Jetpack_PostImages::get_images` call.
Minor: should be `! $image` (with the space) per https://make.wordpress.org/core/handbook/coding-standards/php/#space-usage