Bouncing compact objects. Part I. Quantum extension of the Oppenheimer-Snyder collapse