Replace x_fix_buff() with ei_x_reserve().

A more complete version of the previous commit that replaces
x_fix_buff() entirely.

ei_x_encode.h can now be removed as it only contained a declaration
of x_fix_buff().

depend.mk was hand edited to remove references to ei_x_encode.h.