Generate intermediate images if Photon is disabled.

When JETPACK_DEV_DEBUG is turned on, Photon won't work
so we still need to generate intermediate image sizes.

Fixes #239