initd: fix off-by-one error in mkdev.c