Grain boundary mediated oxidation and interlayer dipolar coupling in a magnetic tunnel junction structure