libretro: Move flip screen counter increment back to end of flip screen callback