Lineshape changes in an optically thick Na vapour with a buffer gas