r23771: Merge useful W_ERROR_NOT_OK_RETURN macro from samba4.