FrameBuffer.cpp: small division optimizations