host/mesh: comp pointer check
host/mesh: comp pointer check

comp data pointer check before using

This is port of d466a807ee20670e90169eb2ad36996210277893

apache/mynewt-nimble,apache/mynewt-nimble,apache/mynewt-nimble,apache/mynewt-nimble,apache/mynewt-nimble