Backport of "gstbuffer/gstmemory: Mark info in map functions as caller-allocates and pass allocation params as const pointers where possible" into 1.18
requested to merge tpm/gstreamer:backport-mr-730-into-1.18-getter-functions-const-parameter into 1.18
Backport of !730 (merged) "gstbuffer/gstmemory: Mark info in map functions as caller-allocates and pass allocation params as const pointers where possible".
Commits: