recorderendpoint: Fix race condition when reconfiguring internal pipeline

Wait until all pending pads are blocked before reconfiguring
internal pipeline.

Change-Id: Ifa588093fc7957e9f2334bb50bceefe9025109b7