stagefright: Fix pause logic

 * This code can race during CTS. Only wait for HW decoders.

Change-Id: I4cfa049f06d27ca7ca9107ae31772f38392a8bc2
(cherry picked from commit ff2599d6c483b94b19a217b0293d36b816b46602)