Photon: Fix recalc_dims with lazy loaded imgs.

Dimension recalculation of images would incorrectly set width and height to placeholder image dimensions in lazy loaded images. For lazily loaded images there is a need to wait for the src attribute to be updated to the data-lazy-src attribute's value.