[arm64] Used c++ for printf warnings workaround