Disable inlining for 'Debug' builds on GCC-type compilers.

Inlining interferes with debugging and also interferes with code
coverage analysis, so this patch disables it for Debug builds
when GCC or a compatible compiler is being used.