Don't overwrite testinstall.cc in testinstall.

Without the change, parallel testinstall fails occasionally when
testinstall.cc is written into obj/ twice:

    $ make -j64 -l64 testinstall
    cp: cannot create regular file 'obj/testinstall.cc': File exists
    make: *** [Makefile:334: static-testinstall] Error 1
    make: *** Waiting for unfinished jobs....

The change splits testinstall.cc into shared-testinstall.cc and
static-testinstall.cc.

Change-Id: I3e10d9b0b7b92db48c6315eb9f03b19996882bc1
Reviewed-on: https://code-review.googlesource.com/c/re2/+/59830
Reviewed-by: Paul Wankadia <junyer@google.com>
1 file changed