[PATCH] Swap getdtablesize() for sysconf(_SC_OPEN_MAX).

Bionic would like to remove getdtablesize(3), as it was removed from POSIX 2004.

Change-Id: Ie41018d531188796ac7f9496917705883ce3923e

LGTM