3b37f6bd32
This is a prerequisite to moving continuation classes inside said functions, which is needed to support crossinline suspend lambdas. The logic of whether to copy attributes on lowerings or not is simple: - if the lowering moves function body to a new place, it should copy the attributes. - if the lowering just generates new declarations (i.e. bridges), it should leave attributes as is.