[telegram-desktop/f31] Use -g2 flags on aarch64/ppc64le architectures.