Performance: lazily memoize expensive `prerelease?` values during resolve

Conflicts:
	lib/bundler/resolver.rb