This patch fixes: https://developer.blender.org/T94051
By adding frame, layer_index, pass_index parameter, API Users have more control over what exactly they want to export when calling image.save_render(). Because of the way how the ImageUser was created in rna_Image_save_render previously it would throw a 'Could not Acquire Buffer from Image' error when trying to save an Image of a Sequence.
Currently there is an open Design task https://developer.blender.org/T94869 on how to handle Temporary DNA struct creation for argument passing. Depending on what the result of this will be, this patch might need to be adjusted. The Design task wasn't updated for a while tough and it would be great to have a solution for image.save_render() now.