Fix problem with Psych::ENGINE for ruby-head

Don't access the constant unnecessarily.