Upgrade dumpImageSize, add option '--record-line' and fix addrDir bug
升级dumpImageSize，添加选项--record-line，修正addrDir的错误

Signed-off-by: Wanpeng Song <swpustc@mail.ustc.edu.cn>