Make target_buffer_get_uXX interfaces work with constant buffers.