[corlib] Two small fixes for GCHandle