validate framebuffers are in use before adjusting state

If GL_EXT_framebuffer_object fails to load, `tr.renderCubeFbo` will be left NULL, causing unexpected clearing inside of RB_BeginDrawingView.