Small refactoring on function `vlc--send-cmd`

Refactored part of `vlc--send-cmd` to a new `vlc--clean-output` function.