security/libgcrypt: Circumvent WITH_DEBUG build failure
Register allocation exaustion results within inline assembly when
WITH_DEBUG is specified. Therefore when WITH_DEBUG is used, disable
inline assembly.
PR: 268173
Reported by: bofh
(cherry picked from commit c35577ebc10af5ae8c509e4c73a44a06ac5b05d4)