Dancing skills at invalid coordinates

Added a check whether the cells are valid or not.
Fixes: http://rathena.org/board/tracker/issue-8523-using-dance-skills-on-dark-map-will-crash-the-map-server/
http://rathena.org/board/tracker/issue-8317-warning-connection-to-char-server-lost/?st=40