SAMP: Spatial Anchor-based Motion Policy for Collision-Aware Robotic Manipulators