Merge "Fix bug in generated code for functions with inband data from pointers.  Passing zero length data would desync return command stream."