Make use of NULL

Replace all (type *)0 with NULL

Created with coccinelle patch:

@@
type T;
@@
-(T*)0
+NULL

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>