Add CMake guards for `dune-subgrid` dependency

15 jobs for develop in 4 minutes and 9 seconds (queued for 2 seconds)