firmware-utils/mksercommfw: fix build with clang/macOS