QcomModulePkg: Reset NumPartitionEntries before invoking GetRamPartitions

Reset NumPartitionEntries to zero before invoking GetRamPartitions.
Issue is not seen internally as there is no invocation of ReadRamPartitions
after RamPartitionEntries is freed.

Change-Id: If0d8fe3156ba821ccb7f43ad2254277a0439bd65
1 file changed