radv: Use an input for the layer when lowering input attachments