Carbon dioxide removal via a membrane system in a natural gas combined-cycle plant