JImage::sanitizeWidth

Method to sanitize a width value.