util: add strcmp_null, a strcmp that handles NULL parameters