Add CC_HINT(nonnull) to module functions which were missed
Remove asserts which were used to mask scan-build errors. Fix RDEBUG macros so they assume request != NULL so scan-build does not use the check as a hint that request can sometimes not be NULL