h264: Replace mpegvideo-specific MAX_PICTURE_COUNT by private define