ARM64: remove duplication by templating InstPrinter methods

No functional change, so no tests.