gh-158585: Adjust _PyBytes_FormatEx() allocation (#158823) Count properly the number of preallocated bytes when growing the buffer.