Fix for gcc type qualifier warnings.

With -Wall -Wextra -Werror, it is not possible to compile against
imgui.h due to const correctness violation in ImVector.