Singularity-Aware Motion Planning for Multi-Axis Additive Manufacturing