crt: Add check that __mingw_GetSectionCount() call has not failed Signed-off-by: LIU Hao <lh_mouse@126.com>