System-Aware Edge Intelligence: Adaptive and Distributed Deep Learning for O-RAN