[AArch64] Refactor pre- and post-index merge fuctions into a single function. NFC.

llvm-svn: 248377
1 file changed