frame: allow align=0 (meaning automatic) for av_frame_get_buffer()