V4 IR: change block scheduling algorithm from recursive to iterative.

This makes time- and memory-complexity a lot better when compiling
big JavaScript functions.

Change-Id: I2a7cb9b5979844254747fa5cf7355cca0b113904
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>