lttng: backport ust subbuffer fix

JIRA: SB-4104

Bringing in a critical update for lttng-ust support.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>