Ensure that Native AOT libraries are not unloaded (#131960)