Flutter AOT builds can be done on Android using .so files (instead of
separate instruction/data snapshots) using the `--build-shared-library`
flag.
Running from .so files stopped working after the engine refactoring in
58e84c8bf0, which this CL restores.
Issue https://github.com/flutter/flutter/issues/17236