databases/ruby-bdb: fix build with Ruby 2.3
PR: 206232 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>