android: Provide a fallback for sigwaitinfo()