lib: Remove unused variable + operations in util.inspect

This was originally introduced in 6034701 to prevent the closing brace being pushed onto the next line if an object is longer than the max width, however the functionality was removed in d164989 but the supplementary variables (and operations) were left behind