bmltest_process: fix setlinebuf commit

stdout is by default line-buffered. Also set this for stderr (to avoid a mess in
logs). Don't use setlinebuf for better compatibility.