Emulate decode_www_form for 1.8.7

The method decode_www_form was introduced in MRI 1.9.2-p180. I simply
check for 1.8 here.