remove unecessary null check (coverity 1127087)
remove unecessary null check (coverity 1127087)

Achal-Aggarwal/libdom,Achal-Aggarwal/libdom,dunkelstern/libdom,Achal-Aggarwal/libdom,prepare/netsurf_libdom,dunkelstern/libdom,Achal-Aggarwal/libdom,prepare/netsurf_libdom,Achal-Aggarwal/libdom,Achal-Aggarwal/libdom,prepare/netsurf_libdom,dunkelstern/libdom,prepare/netsurf_libdom,dunkelstern/libdom,dunkelstern/libdom,dunkelstern/libdom,prepare/netsurf_libdom,prepare/netsurf_libdom