tinymix: Improve detect of integer values

Tinymix detected integer values when setting controls simply by calling
isdigit on the first character of the value being set. This causes
problems with enumerated controls whos values start with digits. This
patch improves this to provide more robust detection of integer values.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>