Evidently when Ken Annakin died in 2009, George Lucas gave an interview where he denied naming the character after that director. However, since both Lucas's spelling of the name in early drafts (Annikin) and Anakin, which he finally came up with are only one letter removed from Annakin, I still think it's likely he was at least unconsciously influenced by that surname.