Don't destroy the prototype of subs with the RecordCallers attribute

and add a test for it. Also require a version of Scalar::Util
that is less than eleven years old.