Tensorflow c++ error Duplicate registration of device factory for type GPU with the same priority 210

Remove the --config=monolithic compile option when you build the Tensorflow c++ using bazel.