[region-isolation] Avoid using the function isolation when determining isolation of a sil_isolated parameter.
It is unnecessary and seems to be slightly out of sync sometimes around
closures.
(cherry picked from commit c1d0c8cd2dfe04a193fc8d3e79f4702ecd51e86f)