MTD: How to get actual image size from MTD partition