I was looking at a similar problem and in the end took a step back from the and approached it a different way. I get to the same result as you - lossless on a separate drive, AAC in iTunes - but not using iTunes to encode.
I use Max (free encoder from http://sbooth.org) to convert my CDs...