rawvideo: fix vflipped bitmap packetization
rawvideo: avoid casting function pointers