size_report: create a main() function

Refactor code and add main() function.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 file changed