kernel: make mtd mac address increment more flexible