subversion: make perl/ruby/python bindings build.

Need to filter out CPPFLAGS that confuse swig, see #23993.

Fixes #23993.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>