make sure that flags passed with DUNE_LDFLAGS are the first flags in linker test and not duplicated another time.

Fixes flyspray #1270

Dune-Common-Svn-Revison: 7433
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>