basesrc: Restore pause/resume in derived classes
When the pipeline goes from Playing to Paused, this change will invoke unlock in the derived class. When the pipeline goes from Paused to Playing, this change will invoke unlock_stop in the derived class.
This feature was removed in commit 523de1a9 and is now being restored.