Fix gmxcheck target

"links" and "tests" target were missing as dependency. Unit tests
were only run if regressiontests were available too.

Introduced by 03d5ecd55fa13e68e6

Change-Id: Ia3ab136622b2c012aebc58fed0abcb63a58a4e31
Merge "Fix gmxcheck target"