Update scopebuffer.d

fix static assert