cabal2nix.cabal: link only with Cabal version 1.10.x or later

Earlier versions didn't have the 'testBuildInfo' function.