[FIR] Unify protected visibility handling for Kotlin and Java