[utils] Do not fail in int_or_none on non-numeric data (Closes #7175)