Third-order average local powers of Bartlett-type adjusted tests: Ordinary versus adjusted profile likelihood