Rename `java/modules` to `java/common`

Copybara Import from https://github.com/bazelbuild/rules_java/pull/174

BEGIN_PUBLIC

Rename `java/modules` to `java/common` (#174)

The term "modules" is easily confused with "Bazel modules" from Bzlmod.

Closes #174

END_PUBLIC

COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/174 from fmeum:master 5a9babe46b3581e6ed8fe24c7409482cc5d0b4c6
PiperOrigin-RevId: 615070661
Change-Id: I0731edb4f8ce3e6a19a742fe7fd51dbde05bd53b
6 files changed