Require relative symlink

When rubinius try to execute require_relative with symlinked path
File#dirname will not recognize symlink and returns wrong path. But
File#realdirpath will follow symlink and return proper path for
require_relative.

Fix #2336