fix map::board_vehicle bug

This fixes the crash from #5565, the game would access parts[-1] if the selected part is not boardable.

The debug message "not boardable" will still appear.