Add sanity check for AMX_ERR_BOUNDS error

Make sure that the error is indeed generated by a BOUNDS opcode.
Move opcode constants to the top
Fix compile warning about redefinition of alloca