[aml] Fix amcodec symlink for M1

Adapt changeset 51eb0ad497e3009789be017a75eb5370c7d78c24f for the M1