Do not add layout attributes for header or footer if size is zero

Header and footer always have width of the view, so comparison with CGSizeZero always fails. This causes crash when calling [UICollectionView insertSections:].