9000755284 Support options that will be added 4.8-R4

1: Same null pointer problem fixing for uclibc sharedlib/staticlib/app
2: Same null pointer problem fixing for elf on linux
Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>