doc: fix a couple of typos in frame.h