Provide fixes on top of LTTng 2.4 from poky

As promised, here are the changes that are required have decent support for LTTng 2.4 on ARM. These changes should provide equally well LTTng 2.4 experience for other MEL targets. SA QA will provide testing for other platforms than ARM. If we find issues we will provide additional pull requests.