Fix avc_find_startcode function