Using v4l2_read return value to figure out how large the captured image is