Add CMake guards for `dune-subgrid` dependency

15 jobs for develop in 3 minutes and 44 seconds (queued for 1 second)