Fix a typo in NuCachedSource2 that would trigger an assert near the end of a stream.

Change-Id: I963ad7074b830d553b67c8925efd5369d0b7a5b9
diff --git a/media/libstagefright/NuCachedSource2.cpp b/media/libstagefright/NuCachedSource2.cpp
index 63ba000..6727c73 100644
--- a/media/libstagefright/NuCachedSource2.cpp
+++ b/media/libstagefright/NuCachedSource2.cpp
@@ -416,7 +416,7 @@
             return mFinalStatus;
         }
 
-        size_t avail = mCache->totalSize() - offset;
+        size_t avail = mCache->totalSize() - delta;
         mCache->copy(delta, data, avail);
 
         return avail;