[bugfix] avoid compile error;

Add implicit declaration of protocol `MGLayoutBox` to avoid compile error, because `UICollectionViewLayoutAttributes` also has `zIndex` method;