(PUP-2412) Remove 1.8.7 support from functions 4 API

This removes the logic that supported Ruby 1.8.7 functions where
the parameters method is not available on the Ruby Method class.

If now executing on Ruby 1.8.7 the runtime will fail.