Composite fermions in a long-range random magnetic field: Quantum Hall effect versus Shubnikov-de Haas oscillations