On variable length coding of asymptotically mean stationary measures