Remove restriction on generate_pdb_file to be only used in dbg and fastbuild mode
Remove restriction on generate_pdb_file to be only used in dbg and fastbuild mode

Users may want to build in opt mode and still want the pdb file to be a linking action output.
See https://github.com/bazelbuild/rules_cc/issues/94#issuecomment-828254895

RELNOTES: None
PiperOrigin-RevId: 372351216

bazelbuild/bazel,ButterflyNetwork/bazel,twitter-forks/bazel,bazelbuild/bazel,katre/bazel,perezd/bazel,katre/bazel,perezd/bazel,cushon/bazel,cushon/bazel,perezd/bazel,katre/bazel,katre/bazel,katre/bazel,cushon/bazel,ButterflyNetwork/bazel,cushon/bazel,twitter-forks/bazel,meteorcloudy/bazel,meteorcloudy/bazel,perezd/bazel,ButterflyNetwork/bazel,bazelbuild/bazel,katre/bazel,perezd/bazel,twitter-forks/bazel,ButterflyNetwork/bazel,meteorcloudy/bazel,ButterflyNetwork/bazel,cushon/bazel,ButterflyNetwork/bazel,meteorcloudy/bazel,meteorcloudy/bazel,cushon/bazel,perezd/bazel,twitter-forks/bazel,twitter-forks/bazel,meteorcloudy/bazel,twitter-forks/bazel,bazelbuild/bazel,perezd/bazel,bazelbuild/bazel,twitter-forks/bazel,meteorcloudy/bazel,bazelbuild/bazel