Use explicit small-block count. Derived value using greedy calculation wasn't correct in many cases.
Fix #2, this patch makes large images support a compile time option by allowing QUIRC_MAX_REGIONS to be tuned via CFLAGS up to 65534 (current default is 254).