LLD currently fills the last page of each executable segment with
trap instructions. It seems to be not enough, see PR36853.
Patch changes logic to fill the all paddings within a segment.
So that any zero areas which exist because of alignment
paddings are also covered.
These instructions won't change, so let's just append 0xcc instructions at end of each array, instead of using memset.