AutoOdom: Learning Auto-regressive Proprioceptive Odometry for Legged Locomotion