Revert "Revert "libstagefright: Add the conditions to ignore seek and allow sink stop""

This reverts commit 0fa7bd79fd0076d46181618fc8b9f0ab456c49a2.