Fix for shader loader

Fixed an issue on Radeon video cards, when loading a shader caused out
of range error cause of no error message =)