textproc/re-flex: update to 3.1.0, build with CMake
Release notes: https://github.com/Genivia/RE-flex/releases/tag/v3.1.0