Add FormatBitsScratch to re-use buffer when writing numbers