base-files: add mtd_get_mac_{ascii,binary} helpers