Correct handling of integers in OP_RETURN