no need for a global maxlen

it just adds work to do since we need to check everytime while a maxlen argument
is anyway required at fbuf creation.

Also provide a macro to initialize a statically defined fbuf with specific size parameters