[runtime] Add an 'app' attribute to the 'aotcache' config section to specify which apps should use the AOT cache.
Fix a warning.