Teach openocd-flat-load-test script to find start and image base addresses from executable file.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>