Better backwards compatibility with _woocommerce_exclude_image

@coenjacobs