util: fix util_clear_render_target and util_clear_depth_stencil layer handling