Fix invalid C-style cast in RenderFrameImplTest.