lwlibav: Fix right shifting for the third component.