Fix calculation of dentry size

The PAD_TO function was incorrectly handling values that were already
aligned, which could lead to overruns of the dentry block.  Fix the
function, rename it to ALIGN, move it to ext4_utils.h, and use it
everywhere the dentry size is calculated.

Change-Id: Ie9778d2c6f72d3db9a3162e52882377a71b8420a
diff --git a/ext4_utils/ext4_utils.h b/ext4_utils/ext4_utils.h
index 294c8c5..0a2b542 100644
--- a/ext4_utils/ext4_utils.h
+++ b/ext4_utils/ext4_utils.h
@@ -38,6 +38,7 @@
 #define min(a, b) ((a) < (b) ? (a) : (b))
 
 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y))
+#define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y)))
 
 #define __le64 u64
 #define __le32 u32