[GL] Fix int init for Release builds (Error caused by compiler optimization)