Revert "replace int by size_t when referencing buffer size in a few places"

This reverts commit c5b801f263cc84d3ce9a1bc42ec7ec3fe6e6334a.
[l10n] Revert one string in es.po due to broken string freeze