Fix pointer size issue with setbuf() on VMS