Fix incorrect integer concatenation in error messages

String + size_t does not append the integer as obviously intended.
These bugs were detected by clang.