[runtime] Use getrlimit () to obtain the size of the fd table instead of getdtablesize () which is getting deprecated in Android.