Task-Aware Morphology Optimization of Planar Manipulators via Reinforcement Learning