firmware-utils: mkdlinkfw: cleanup code