zink: start some barrier helper funcs
more patches split out from a larger series for ease of review despite not being actively used yet
this begins the framework for (buffer) resource barriers which will, over time, expand to include image resources and be used for all cases where barriers are necessary