androidmk: Support version_script

This only translates the common case using $(LOCAL_PATH). If it doesn't
match here, Soong will throw an error with a suggested fix.

Change-Id: If64c8fca008a1a414fc12389e6b1bb40af0df899
diff --git a/cc/check.go b/cc/check.go
index e6a8036..38a64a0 100644
--- a/cc/check.go
+++ b/cc/check.go
@@ -69,6 +69,8 @@
 			}
 		} else if strings.HasPrefix(flag, "-L") {
 			ctx.PropertyErrorf(prop, "Bad flag: `%s` is not allowed", flag)
+		} else if strings.HasPrefix(flag, "-Wl,--version-script") {
+			ctx.PropertyErrorf(prop, "Bad flag: `%s`, use version_script instead", flag)
 		} else if strings.Contains(flag, " ") {
 			ctx.PropertyErrorf(prop, "Bad flag: `%s` is not an allowed multi-word flag. Should it be split into multiple flags?", flag)
 		}