CASPFormer: Trajectory Prediction from BEV Images with Deformable Attention