When the %m filename pattern is used, the filename is unique to each
image, so the cached value is wrong.
It struck me that the full filename isn't something that's recomputed
often, so perhaps it doesn't need to be cached at all.
@davidxl pointed out we can go further and just hide lprofCurFilename.
rdar://55137071