Bridging density-functional and many-body perturbation theory: Orbital-density dependence in electronic-structure functionals