build.gradle: Hardcode minHeapSize, maxHeapSize

We didn't figure out how to pass this from commandline; essential for
systems with just 8GB RAM, otherwise all time is spent garbage
collecting.