Fix a bug related to tile based decoding When the sample size is larger than 1. The calculation of image's height and width should be rounding up not down. Change-Id: I6c2ad1f630d1f8f9392594887e23f294ecde2352