frame: make get_vbuf() work for immutable refs