avcodec/wavpack: Check L/R values before use to avoid harmless integer overflow and...