openjdk-8: strip leading non digit chars from GCCVERSION
openjdk-8: strip leading non digit chars from GCCVERSION

When using the linaro cross toolchain GCCVERSION is set to "linaro-6.2%", i.e.
the first char is not GCC's major version.
Thus needed compiler options for GCC 6 are not set.

Fix at least this case by stripping GCCVERSION up to the first numeric char.

Signed-off-by: Max Krummenacher <2adf29ceaf73d2cea8fff1ff57e7b25e74cc8f1f@toradex.com>
(cherry picked from commit 1fbdc60eaccaa29c2942d479f8068b722e7b5bf3)
Signed-off-by: Maxin B. John <4470e5a3cfbc7ff75506df1ae89969a0d8cce1df@intel.com>

rehsack/meta-java,rehsack/meta-java,rehsack/meta-java,rehsack/meta-java,rehsack/meta-java