fix GTP_RB_RELEASE macro. The write position should step back to its previous one when giving up current allocation.