[Toolkit.Graphics] Fix issue #366. NullPointerException was occurring with constant buffer not correctly remapped to internal resource index after parameter reordering.