Precondition error messages should be compile time constants

Don't eagerly format an error string for an unexpected condition.
Required to merge aosp/2996936.

Bug: 327646201
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1953b9c1687a60f35bcf623eb09aaf6c164811f5)
Merged-In: I159286c0ba78f5c80347bdc177a6e2bbf2a4e733
Change-Id: I159286c0ba78f5c80347bdc177a6e2bbf2a4e733

NOTE FOR REVIEWERS - errors occurred while applying the patch.
PLEASE REVIEW CAREFULLY.
Errors:
Error applying patch in adservices/service-core/java/com/android/adservices/service/shell/ShellCommandArgParserHelper.java: Cannot perform UNIFIED action on a non-existent file

Original patch:
 From 1953b9c1687a60f35bcf623eb09aaf6c164811f5 Mon Sep 17 00:00:00 2001
From: Shai Barack <shayba@google.com>
Date: Tue, 19 Mar 2024 17:41:05 +0000
Subject: [PATCH] Precondition error messages should be compile time constants

Don't eagerly format an error string for an unexpected condition.
Required to merge aosp/2996936.

Bug: 327646201
Change-Id: I159286c0ba78f5c80347bdc177a6e2bbf2a4e733
---