fixed wrong api called when install writable prealod app encrypted.
[Issue#] N/A
[Problem] can't install writable preload app during building image.
[Cause] failed to encrypt resource because wrong api was called at encryption.
[Solution]
- There are encryption api separated with preload and download.
(ssm_encrypt_preloaded_application(), ssm_encrypt_application())
- So preload encryption api is called when installing writable preload app.
[SCMRequest] N/A
Change-Id: I67fa5721c317b5a5fb9a1c2d881bf3fa522d8a03