makesd: improved to better handle mmcblk0p partitions

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>