adjust apf_run.c for APFv6 alignment requirement API change

This isn't really fully implemented, but is enough to
prevent compile time failure...

There is no current test coverage for the --v6 flag.

A proper fix would make sure ram_len is a multiple of 4,
make sure ram_len is 20+ bytes greater than program length,
and guarantee correct alignment of the program.

The latter may already be guaranteed by malloc...
but non obvious due to being hidden behind uint8_t*

Test: m apf_run, atest apf_run_test
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I3c53f281f527c3c2152117a354e492dcf3ab7417
1 file changed