[MLIR][GPU] Truncate temp filename path size to avoid linux limitations (#155108)
Linux has a limitation of 256 characters for a path. Large function
names being serialized will cause this to fail. As createTemporaryFile
already unique's the file (up to 128 retries for different name
variations), truncating should suffice