Jamal Musiala scored on his first start for Bayern Munich since July as they secured second spot in the league phase of the Champions League with a hard-fought win at PSV Eindhoven.