carl9170 firmware tools: fix off-by-one segmentation fault in fwprepare