Use official titles in Acknowledgements
Yes, it is probably best to be a bit formal in acknowledgements. The difference would be two or more true peers, in which case they may collectively decide to be informal. But if you are a student, then it is wise to err on the formal side.