Fix bug of record fourth partition fail

The max partition should be MAX_PARTITIONS.
Enhance the DirectVolume to handle the disk whose
partition number are larger than MAX_PARTITION, the
mDiskNumParts must be set to MAX_PARTITION in this case,
otherwise there will be over bound access.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>