Only MCAsmStreamer (assembly output) needs to keep .Ltmp* names.
Similar to rL236642. Made the optimization available for cc1as as well.
This eliminates a behavior difference between llvm-mc -filetype=obj and cc1as, which caused
https://reviews.llvm.org/D74006#1890487