Rename MAX_INPUT_SIZE to MAX_BUF_SIZE.

Buf is more generic.

Signed-off-by: Thiago Farina <tfarina@chromium.org>