[!707] dune_add_library: handle object library with `SOURCES` option

Merge branch 'dune_add_library-OBJECT-SOURCES' into 'master'

ref:core/dune-common Previously the OBJECT path of dune_add_library would only
use the unparsed arguments. Source files specified via the SOURCES option were
ignored.

See merge request [!707]

  [!707]: gitlab.dune-project.org/core/dune-common/merge_requests/707
7 jobs for master in 5 minutes and 26 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #116975
duneci
debian:10 clang-7-libcpp-17

00:02:17

passed #116980
duneci iset:avx allowed to fail
debian:10 gcc-7-14--expensive

00:05:26

passed #116974
duneci
debian:10 gcc-8-noassert-17

00:03:13

passed #116977
duneci
debian:9 clang-3.8-14

00:02:13

passed #116976
duneci
debian:9 gcc-6-14

00:02:28

passed #116978
duneci
ubuntu:16.04 gcc-5-14

00:02:22

passed #116979
duneci
ubuntu:18.04 clang-6-17

00:02:29