Cleanup Renderer::CalculateTargetSize(), and allow IRs higher than 4x to...

... be set via ini.
Don't we have an ArraySize macro somewhere?