Core hole effects on electronic structure: Al in AlNi