Add a private type that allows us to mutate the inner vector of a `ScriptBuf` only using public functions and never touching the inner field. Done in preparation for moving the `ScriptBuf` to `primitives`. Mad hackery by Kix!