Extract method to build SACK extension payload.