Make g_assert_null/nonnull clang static analyzer friendly
@icq1
Submitted by Ignacio Casal Quinteiro Link to original bug (#770939)
Description
These methods might not always abort so the static analyzer will be picky and show a possible bug. Workaround this by using g_assert with the static analyzer.