add missing ocaml-version constraint to core

Seems to have been dropped between 109.15 and 109.17