Remove unused check on product images

Only the @product.variant_images are used in the view.

@product.images is just the images on the master variant, which is
included in @product.variant_images

fixes #5766