[z2037] Remove some redundant explicit NULL checks for pointers before delete or delete[] calls since this check is done implicitly when deleting

Signed-off-by: stfx <stfx@hotmail.de>

(based on commit 6576a8c)

Signed-off-by: Nighoo <nighoo@overninethousand.de>

(cleaned version of bbbb048)

(based on commit [s1650] - f4382b7)