Bug 1065877: prevent OOMs when editing, picking and sharing large images

I believe the intention of this change is that 'maxsize' always has a non-zero value. If that's true, 'maxsize || null' is unnecessary.