Fix setting the max-upload-size for really large values.

php can only parse filesize units up to gigabytes, not terabytes or petabytes. e.g. "1000T" gets parsed as 1000 Byte, which is a bit unfortunate ;-)

Please also merge in stable6.