fix the formatting of runtime error msg in prims _cat_meta (#92124)
Summary:
easy fix on formatting. for example,
> BackendCompilerFailed: compile_fx raised RuntimeError: Sizes of tensors must match except in dimension 0. Expected {common_length} but got {length} for tensor number {tensor_idx} in the list
Reviewed By: Yuzhen11
Differential Revision: D42491648
Pull Request resolved: https://github.com/pytorch/pytorch/pull/92124
Approved by: https://github.com/malfet