Separate page size and image segment alignment

All modules related to image files were inspected for kPageSize.
This command lists relevant modules:
grep -r kPageSize | grep -i "oat\|image\|elf"

Since Art can crosscompile and targets can have different page
sizes (eg. 4kB or 16kB), we need to make it generate OAT (ELF)
and other image files with segment alignment that would be
sufficient with all supported page sizes.

This patch introduces kElfSegmentAlignment constant which is
set to kMaxPageSize.

Test: Same as for I5430741a8494b340ed7fd2d8692c41a59ad9c530.
      The whole patches chain was tested as a whole.
Author: Branislav Rankov <branislav.rankov@arm.com>
Co-authored-by: Ruben Ayrapetyan <ruben.ayrapetyan@arm.com>
Change-Id: I7b0bbd274037192b712519dd5cd464932dbd0729
14 files changed