scripts: Fixed the calculate section size error with NoneType [1/1]

PD#SWPL-90928

Problem:
Fixed the calculate section size error with NoneType.

Solution:
Fixed the calculate section size error with NoneType.

Verify:
N/A

Change-Id: I934de9ba5fc3d99556f53d469811b713c5aab761
Signed-off-by: xiaohu.huang <xiaohu.huang@amlogic.com>
1 file changed