[PATCH 5/6] virDomainDeviceLoadparmIsValid: Use 'strspn' instead of a loop