Move get_regs error check from trace_syscall_entering to get_scno
Move get_regs error check from trace_syscall_entering to get_scno

Starting with commit v4.10-25-g8497b62, get_scno() can be called outside
trace_syscall_entering(), so move the get_regs_error check from
trace_syscall_entering() to get_scno().

* syscall.c (trace_syscall_entering): Move get_regs_error check ...
(get_scno): ... here.

geekboxzone/mmallow_external_strace,YUPlayGodDev/platform_external_strace,YUPlayGodDev/platform_external_strace,cuviper/strace,Infinitive-OS/platform_external_strace,bigzz/strace_android,kapdop/android_external_strace,vrastogi/strace,bigzz/strace_android,Saruta/strace,AOSP-YU/platform_external_strace,Saruta/strace,AOSP-YU/platform_external_strace,geofft/strace,cuviper/strace,geekboxzone/mmallow_external_strace,AOSP-YU/platform_external_strace,MonkeyZZZZ/platform_external_strace,YUPlayGodDev/platform_external_strace,Saruta/strace,geekboxzone/mmallow_external_strace,bigzz/strace_android,MonkeyZZZZ/platform_external_strace,AOSP-YU/platform_external_strace,TeamExodus/external_strace,vrastogi/strace,geofft/strace,cuviper/strace,geofft/strace,kapdop/android_external_strace,TeamExodus/external_strace,cuviper/strace,kapdop/android_external_strace,TeamExodus/external_strace,AOSP-YU/platform_external_strace,Distrotech/strace,vrastogi/strace,Infinitive-OS/platform_external_strace,Yu-AndroidM/android_external_strace,Infinitive-OS/platform_external_strace,geekboxzone/mmallow_external_strace,Yu-AndroidM/android_external_strace,geofft/strace,vrastogi/strace,YUPlayGodDev/platform_external_strace,cuviper/strace,geekboxzone/mmallow_external_strace,kapdop/android_external_strace,Distrotech/strace,Infinitive-OS/platform_external_strace,TeamExodus/external_strace,Yu-AndroidM/android_external_strace,Saruta/strace,geofft/strace,Infinitive-OS/platform_external_strace,Distrotech/strace,Yu-AndroidM/android_external_strace,MonkeyZZZZ/platform_external_strace,kapdop/android_external_strace,vrastogi/strace,bigzz/strace_android,Yu-AndroidM/android_external_strace,TeamExodus/external_strace,MonkeyZZZZ/platform_external_strace,Distrotech/strace,YUPlayGodDev/platform_external_strace,MonkeyZZZZ/platform_external_strace,Saruta/strace,bigzz/strace_android,Distrotech/strace