Fixes an edge case when buffer is empty

https://github.com/sass/libsass/commit/e5a8ea77c340028cf23511ea52cb62505924241c
Merge pull request #544 from mgreter/fix-trailing-semicolon-removal

Fixes an edge case when buffer is empty