treewide: Replace the invalid usage #if DEBUG with #ifdef DEBUG
What does this MR do and why?
treewide: Replace the invalid usage #if DEBUG with #ifdef DEBUG
This is done by find&replace and exclude the following folders in vscode
docs,*.rs,addrlib,src/imgui,*.sh,src/intel/vulkan/grl/gpu
This is a prepare step for re-working https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21946
These issues are found when to try switch DEBUG to MESA_DEBUG=0|1
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>