cc: Limit software resource sizes

Althought the software renderer *could* support much larger sizes than
the hardware renderer, there's no reason to allow them.  This will
create a little bit more consistency between platforms and will prevent
security issues caused by gigantic allocations.

BUG=337882

Review URL: https://codereview.chromium.org/137703014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250870 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250870