Align end sector in the appropriate direction for resize. (#1120964)
Align end sector in the appropriate direction for resize. (#1120964)

When shrinking, align the end sector up to ensure the aligned partition
is still larger than the formatting's minimum size.

When growing, align the end sector down to ensure the aligned partition
is completely within the free region (and not larger than the formatting's
maximum size).

rhinstaller/blivet,dwlehman/blivet,vpodzime/blivet,vojtechtrefny/blivet,dwlehman/blivet,rvykydal/blivet,jkonecny12/blivet,jkonecny12/blivet,rhinstaller/blivet,vpodzime/blivet,rvykydal/blivet,AdamWill/blivet,vojtechtrefny/blivet,AdamWill/blivet