fftw.rb: define_singleton_method for r2c