lottie/capi: added missing frame_at_pos() api and changed the render_flush() signature.