MDL-39118 - mod_data: Included a check for selecting course max bytes limit.

Setting the maximum size for a file or picture field to the course upload limit
would send a value of 0 to the file picker. This patch checks for this 0 value
and handles it appropriately.