dfu: allow backend to specify a maximum buffer size