Kosterlitz-Thouless-Type Metal-Insulator Transition of a 2D Electron Gas in a Random Magnetic Field