Fix renderbuffer parameter type

Several parameters of renderbuffer type were treated as unmapped uint.
They would not retrace correctly because the renderbuffer needed to be mapped.