platform: msm_shared: Corrected the check to prevent buffer overread in write_mbr_in_blocks

Corrected the check in write_mbr_in_blocks such as to prevent buffer overread.

Change-Id: I3b7bba147016699d25f8f6f75d1c76eae56ffd68
1 file changed