Merge "platform: msm_shared: Do not return pointer allocated on stack"