speed up ReferenceDct quite remarkably by doing the double to int conversion with rounding with SSE2