As mentioned, you are put directly into a hallway leading to customs when you de-plane. During your walk to the customs hall you can hang a left and follow the "connecting flights" sign and you will re-enter the terminal. Not sure if they will let you through without a ticket, and if they did I am not sure how you would make it back to immigration when you were done, but that would be the only way to access the lounges.