With the intention of reusing the glink core protocol commandsand code across both rpm and smem based transports, the only thingdifferent is way of accessing the shared-memory of the transport(FIFO). So put the fifo accessor's of the transport's pipe (rx/tx)behind indirections, so that the rest of the code can be shared.

For this, have a qcom_glink_pipe that can be used in the common codecontaining the indirections and wrap it with glink_rpm_pipe that containsthe transport specific members.