Adapt the Stack interfaces to the v1.1.1 mirage-types interface

(see mirage/mirage#226 for details)