mint-arena: update q_shared.c/h for spearmint changes

See https://github.com/zturtleman/spearmint/commit/cef4cd1e60a214b573b51e36fd1942effe696de6 for details.