Remove unused and redundant #defines

Those macros are defined in srl_error.h and not used elsewhere. This
also fixes macro redefinition compiler warning.