use powi intrinsic for float^int. ref #6112

restores the performance of stockcorr