create-tftf.c: fix order-of-arguments dependence
create-tftf.c: fix order-of-arguments dependence

The start-sym and start-location arguments were only being accepted if they
were written (and thus handled) before the ELF argument.  Rewrite the code
slightly to fix that, handling ELF files once all arguments (including start
location and start symbol) have been processed.

Testing Done: nuttx2ffff with start-sym after ELF arg
Bug Number: SW-2252
Review URL: https://reviews.leaflabs.com/r/2571/
Reviewed by: Morgan Girling <girling_morgan@projectara.com>, Jun Li <li_jun@projectara.com>

Signed-off-by: Eli Sennesh <5ebe47bba478951130dff4ea23416219c2dfa45d@leaflabs.com>

projectara/bootrom-tools,gregkh/bootrom-tools,gregkh/bootrom-tools,projectara/bootrom-tools,gregkh/bootrom-tools,projectara/bootrom-tools