Patch rubyforge_project= only when available.
As reported at https://github.com/rubygems/rubygems/issues/3269#issuecomment-640256341 debian rubygems patch is not compatible with latest release (3.1.4) as rubyforge_project=
method was finally removed. Let's redefine it only when available.