move HPUXCOMPAT code to MD files and account for new stack alignment