nine: make ccc-analyzer happier

No functional changes, only added user_assert in case of null pointer.

Signed-off-by: David Heidelberger <david.heidelberger@ixit.cz>