Fix error introduced in f1afbf9 where `sp-skip-closing-pair` returns
value of sp-buffer-modified-p instead of the test condition