error to compiling Darktable 3.4.1.1 (for bisect)

For anyone facing the same issue: adding

CHECK_COMPILER_FLAG_AND_ENABLE_IT(-Wno-stringop-overflow)
CHECK_COMPILER_FLAG_AND_ENABLE_IT(-Wno-stringop-overread)

in cmake/compiler-warnings.cmake will make 3.4.* compile with the gcc above. Not making a PR as master compiles just fine.