MINOR: htx: Add an helper function to get the max space usable for a block

This patch must be backported in 1.9 because it will be used by a futher patch
to fix a bug.
1 file changed