nuplayer2: port GenericSource2 to NDK APIs
am: 0cd95065c5

Change-Id: Iabd2ebac710c642baa4aa109de3374aa35875c01