Migrate scale and scatter to phi, and modify the code style for roi_align_kernel. test=kunlun (#45938)