F_MODE_*: changed values

The F_MODE_AS and F_MODE_AD flags do not index the <prop> array,
in contrast to the other F_* entries, but blocked the next
possible index in this array. Therefore changed the numbering to
negative numbers that will never index an array.
Also use a symbolic constant for the length of the array <props>
and use it to allocate it.

Change-Id: I71e487515ef9851c5f12bf899c285b7fb1da3a59
2 files changed