Update Masonry v2/v3 shim from upstream.

props kovshenin.
see #27510.


git-svn-id: https://develop.svn.wordpress.org/trunk@27779 602fd350-edb4-49c9-b593-d223f7449a82