CODINGSTYLE: Drop non-posix parameter extensions

While the non-posix substring expansions and replacement expansions are
in use in portage already; they currently do not always work properly.

.githooks/pre-commit: 28: testing/gcc-cross-embedded/APKBUILD: Bad substitution

where line 28 reads:
	targetnorm="${target//-/_}"

So best to avoid this construct when it doesn't even work all the time.

A good replacement is:
	targetnorm="$(echo "${target}" | tr - _)"

which is posix compliant and works.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
7 jobs for !11435 with codingstyle in 1 minute and 35 seconds (queued for 1 second)
latest detached
Status Job ID Name Coverage
  Lint
passed lint #186372
docker-alpine x86_64

00:00:22

 
  Build
passed build-aarch64 #186377
docker-alpine ci-build aarch64

00:00:25

passed build-armv7 #186378
docker-alpine ci-build armv7

00:00:30

passed build-ppc64le #186376
docker-alpine ci-build ppc64le

00:00:48

passed build-s390x #186375
docker-alpine ci-build s390x

00:00:18

passed build-x86 #186374
docker-alpine ci-build x86

00:00:20

passed build-x86_64 #186373
docker-alpine ci-build x86_64

00:00:25