Update some deprecated Starlark function calls

The `ctx.action()` call and friends are now under `ctx.actions.*`.
This patch updates the calls to the new locations. Newer bazel
versions removed the old versions altogether.

Change-Id: I748d056054d13a0385a06c0c94a2283acfdb82af
diff --git a/aos/seasocks/gen_embedded.bzl b/aos/seasocks/gen_embedded.bzl
index 5bdb80d..bb27e52 100644
--- a/aos/seasocks/gen_embedded.bzl
+++ b/aos/seasocks/gen_embedded.bzl
@@ -1,5 +1,5 @@
 def _gen_embedded_impl(ctx):
-    ctx.action(
+    ctx.actions.run(
         inputs = ctx.files.srcs,
         outputs = [ctx.outputs.source],
         executable = ctx.executable._gen_embedded,