[PATCH openEuler-1.0-LTS 1/2] ptrace: slightly saner 'get_dumpable()' logic