pal: partially revert change 5149268 to fix regressions

Due to moving the invocation of function registerStream() from
derived class StreamUltraSound and StreamSensorPCMData to base
class StreamCommon, pointer sUPD and sPCM become null pointers
when they are downcasted by using dynamic_cast. Therefore, the
null pointers sUPD and sPCM are pushed to active stream lists:
active_streams_ultrasound and active_streams_sensor_pcm_data,
which result in null pointer dereference in several functions.
To fix regressions caused by change 5149268 on stream UPD and
stream Sensor PCM Data, revert related changes in below commit
39cf5f7dae407489500a99e974a2c43a377a9d6c

Change-Id: I9a09edec0ff0bce33cb088688c90e1b2769885c3
3 files changed