mk_initrd: Fix up some metadata calculations