Remove debug statements in dead code which isn't used at this point.
Removed additional NULL arguments which are not required for apr_psprintf().