Build: Don't process images when copying files for Google CDN

Fixes gh-7284

(cherry picked from commit ba4621197350dc2c5bbf023f0e96449098235558)