[CoreBundle] Don't persist empty images while creating/updating product

Possible alternative to: #1678, #1679.