std.nodebug: remove DIAGNOSTIC from debug configs
(cherry picked from commit 431884325075e3532235002fd7e5228b40f16b19)