Fix the text not being drawn when shaders were used in ex_prim
Fix a few incorrect usages of al_lock_vertex_buffer