Messenger MAI: minor bug fix to messenger attack behavior

The syntax of the waypoint_x/y parameter was changed recently, without
adapting its treatment here.  As a result, the messenger did "unsafe"
attacks whenever it ended up next to an enemy and not only on the last
waypoint as it is supposed to.